Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001978/0.001978, allocations: 286.3 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9257/0.9257, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 97.69 kB / 0.5952 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1568, allocations: 86.99 MB / 0.6802 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.464/0.6208, allocations: 167.3 MB / 0.8436 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.6235, allocations: 1.559 MB / 0.8451 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003583/0.6238, allocations: 10.81 kB / 0.8451 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.6244, allocations: 150 kB / 0.8453 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.6263, allocations: 0.7065 MB / 0.846 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.628, allocations: 0.5941 MB / 0.8465 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009376/0.629, allocations: 0.7012 MB / 0.8472 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.6294, allocations: 238.6 kB / 0.8474 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006193/0.63, allocations: 333.7 kB / 0.8478 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.6303, allocations: 213.3 kB / 0.848 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.6303, allocations: 22.81 kB / 0.848 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.632, allocations: 0.8648 MB / 0.8488 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.6321, allocations: 112.8 kB / 0.8489 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.6323, allocations: 170.1 kB / 0.8491 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009878/0.6333, allocations: 0.7205 MB / 0.8498 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6333, allocations: 0 / 0.8498 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6333, allocations: 0 / 0.8498 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.6333, allocations: 0 / 0.8498 GB, free: 13.21 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008745/0.6342, allocations: 0.6455 MB / 0.8504 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.6342, allocations: 10.41 kB / 0.8505 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.6354, allocations: 157 kB / 0.8506 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.6358, allocations: 309.1 kB / 0.8509 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.6358, allocations: 19.09 kB / 0.8509 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.6358, allocations: 21.72 kB / 0.8509 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.6363, allocations: 280.4 kB / 0.8512 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.6364, allocations: 3.938 kB / 0.8512 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.6364, allocations: 12.06 kB / 0.8512 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6364, allocations: 4.969 kB / 0.8512 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.6368, allocations: 192.5 kB / 0.8514 GB, free: 11.96 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.6382, allocations: 1.212 MB / 0.8526 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.6385, allocations: 144.2 kB / 0.8527 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.6386, allocations: 90.61 kB / 0.8528 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000615/0.6393, allocations: 304 kB / 0.8531 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.6393, allocations: 34.5 kB / 0.8531 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.6393, allocations: 0 / 0.8531 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007293/0.6401, allocations: 286 kB / 0.8534 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.6401, allocations: 54.25 kB / 0.8535 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.6404, allocations: 316.1 kB / 0.8538 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.6404, allocations: 25.7 kB / 0.8538 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.6406, allocations: 182 kB / 0.854 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.6406, allocations: 55.23 kB / 0.854 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.6407, allocations: 47.7 kB / 0.8541 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.6409, allocations: 337.2 kB / 0.8544 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.641, allocations: 67.7 kB / 0.8544 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.6412, allocations: 124.9 kB / 0.8546 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.6416, allocations: 188.5 kB / 0.8547 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6416, allocations: 5 kB / 0.8547 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004334/0.6421, allocations: 239.9 kB / 0.855 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.6421, allocations: 7.562 kB / 0.855 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.6421, allocations: 0 / 0.855 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6421, allocations: 10.16 kB / 0.855 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.6423, allocations: 40.75 kB / 0.855 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6423, allocations: 2.344 kB / 0.855 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.6426, allocations: 32.77 kB / 0.8551 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.6426, allocations: 11.97 kB / 0.8551 GB, free: 8.926 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001485/0.6427, allocations: 156.8 kB / 0.8552 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.6428, allocations: 26.19 kB / 0.8553 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.6433, allocations: 221.9 kB / 0.8555 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6433, allocations: 0 / 0.8555 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6433, allocations: 4.719 kB / 0.8555 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6433, allocations: 3.984 kB / 0.8555 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/0.6443, allocations: 0.6762 MB / 0.8561 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6443, allocations: 2.188 kB / 0.8561 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.6444, allocations: 37.33 kB / 0.8562 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.6445, allocations: 3 kB / 0.8562 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.6445, allocations: 10.25 kB / 0.8562 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.6445, allocations: 2.562 kB / 0.8562 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6445, allocations: 2.219 kB / 0.8562 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.6451, allocations: 436.1 kB / 0.8566 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.6452, allocations: 125.2 kB / 0.8567 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.6453, allocations: 6.844 kB / 0.8567 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.6455, allocations: 25.16 kB / 0.8568 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.6455, allocations: 9.672 kB / 0.8568 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.6455, allocations: 7.344 kB / 0.8568 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001975/0.6457, allocations: 222.9 kB / 0.857 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6458, allocations: 0 / 0.857 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00039/0.6461, allocations: 80.42 kB / 0.8571 GB, free: 7.406 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0003631/0.6465, allocations: 170.7 kB / 0.8572 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.647, allocations: 173.4 kB / 0.8574 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.647, allocations: 192 / 0.8574 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.6471, allocations: 87.95 kB / 0.8575 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009209/0.6481, allocations: 177.2 kB / 0.8576 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.6491, allocations: 0.6142 MB / 0.8582 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.6494, allocations: 0.7749 MB / 0.859 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002119/0.6496, allocations: 62.17 kB / 0.8591 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.6497, allocations: 24.91 kB / 0.8591 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.6497, allocations: 0 / 0.8591 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of Templates: time 0.01036/0.6601, allocations: 5.734 MB / 0.8647 GB, free: 3.059 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)