Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity") translateModel(Annex60.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006616/0.006617, allocations: 100.5 kB / 15.73 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 192.8 kB / 16.67 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.5016/0.5016, allocations: 54.95 MB / 324.9 MB, free: 68 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 75.94 kB / 456.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1626, allocations: 59.59 MB / 0.5038 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Velocity): time 0.669/0.8317, allocations: 167.4 MB / 0.6673 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002862/0.8346, allocations: 1.521 MB / 0.6688 GB, free: 0 / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005145/0.8351, allocations: 10.53 kB / 0.6688 GB, free: 0 / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008976/0.8361, allocations: 236.8 kB / 0.669 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.8377, allocations: 0.5956 MB / 0.6696 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.8395, allocations: 0.6833 MB / 0.6703 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.8412, allocations: 1.063 MB / 0.6713 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005694/0.8418, allocations: 315.8 kB / 0.6716 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.8432, allocations: 0.5515 MB / 0.6722 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005202/0.8437, allocations: 333.8 kB / 0.6725 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.12e-05/0.8438, allocations: 45.48 kB / 0.6725 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.8452, allocations: 0.6411 MB / 0.6731 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.8455, allocations: 182.4 kB / 0.6733 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.8458, allocations: 268.9 kB / 0.6736 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.8472, allocations: 0.9142 MB / 0.6745 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8472, allocations: 0 / 0.6745 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8472, allocations: 0 / 0.6745 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.8472, allocations: 4 kB / 0.6745 GB, free: 15.84 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001402/0.8486, allocations: 0.7944 MB / 0.6752 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.8487, allocations: 13.03 kB / 0.6753 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.8498, allocations: 155.5 kB / 0.6754 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.8503, allocations: 373.2 kB / 0.6758 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.8503, allocations: 24.25 kB / 0.6758 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.8504, allocations: 42.62 kB / 0.6758 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007298/0.8511, allocations: 425.3 kB / 0.6762 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.8512, allocations: 0 / 0.6762 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.8512, allocations: 22.28 kB / 0.6763 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.8512, allocations: 8.438 kB / 0.6763 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005811/0.8518, allocations: 314.8 kB / 0.6766 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.8539, allocations: 1.495 MB / 0.678 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.8542, allocations: 146.2 kB / 0.6782 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.8544, allocations: 89.19 kB / 0.6782 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003673/0.8547, allocations: 116.5 kB / 0.6784 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.8548, allocations: 38.34 kB / 0.6784 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.8548, allocations: 0 / 0.6784 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.000664/0.8555, allocations: 292.7 kB / 0.6787 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.8555, allocations: 53.97 kB / 0.6787 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.856, allocations: 446 kB / 0.6792 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.856, allocations: 32.48 kB / 0.6792 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.8562, allocations: 237.5 kB / 0.6794 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.8562, allocations: 61.86 kB / 0.6795 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.868e-05/0.8563, allocations: 58.17 kB / 0.6795 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8565, allocations: 350.1 kB / 0.6799 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.8567, allocations: 89.91 kB / 0.6799 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.8569, allocations: 165.7 kB / 0.6801 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.8573, allocations: 263.6 kB / 0.6804 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8573, allocations: 0 / 0.6804 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005591/0.8579, allocations: 336.7 kB / 0.6807 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8579, allocations: 7.688 kB / 0.6807 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.858, allocations: 4 kB / 0.6807 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.858, allocations: 9.438 kB / 0.6807 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.8583, allocations: 64.34 kB / 0.6808 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.8583, allocations: 5.625 kB / 0.6808 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.8587, allocations: 42.67 kB / 0.6808 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.8587, allocations: 11.88 kB / 0.6808 GB, free: 12.88 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000233/0.859, allocations: 171.4 kB / 0.681 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.8591, allocations: 45.03 kB / 0.681 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/0.8596, allocations: 241.3 kB / 0.6812 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.8596, allocations: 6.188 kB / 0.6813 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.8597, allocations: 5.234 kB / 0.6813 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.8597, allocations: 0 / 0.6813 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.8608, allocations: 0.7382 MB / 0.682 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8608, allocations: 1.094 kB / 0.682 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.861, allocations: 31.38 kB / 0.682 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.861, allocations: 5.375 kB / 0.682 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.861, allocations: 7.156 kB / 0.682 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.861, allocations: 3.594 kB / 0.682 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.861, allocations: 2.906 kB / 0.682 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007095/0.8617, allocations: 475.7 kB / 0.6825 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.8619, allocations: 153.1 kB / 0.6826 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.862, allocations: 7.875 kB / 0.6826 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.8623, allocations: 16.09 kB / 0.6827 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.8624, allocations: 18.33 kB / 0.6827 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.8624, allocations: 16.78 kB / 0.6827 GB, free: 12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003723/0.8628, allocations: 319.5 kB / 0.683 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8628, allocations: 0 / 0.683 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004887/0.8633, allocations: 119.1 kB / 0.6831 GB, free: 11.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004847/0.8638, allocations: 159.3 kB / 0.6833 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004587/0.8643, allocations: 216 kB / 0.6835 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8643, allocations: 2.406 kB / 0.6835 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.8645, allocations: 96.28 kB / 0.6836 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.8657, allocations: 244.8 kB / 0.6838 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.8669, allocations: 0.7753 MB / 0.6845 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.8673, allocations: 0.8127 MB / 0.6853 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002822/0.8676, allocations: 83.12 kB / 0.6854 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.8677, allocations: 35 kB / 0.6855 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.8677, allocations: 1.203 kB / 0.6855 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.01474/0.8824, allocations: 8.413 MB / 0.6937 GB, free: 8.324 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe 2>&1)