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.006305/0.006305, allocations: 109.3 kB / 15.74 MB, free: 5.578 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.001209/0.001209, allocations: 189.6 kB / 16.67 MB, free: 5.516 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002279/0.002279, allocations: 284 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9629/0.9629, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 95.84 kB / 0.6815 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4544, allocations: 86.98 MB / 0.7664 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1735/0.628, allocations: 167.4 MB / 0.9298 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002994/0.631, allocations: 1.558 MB / 0.9313 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000415/0.6315, allocations: 7.938 kB / 0.9314 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.632, allocations: 146.9 kB / 0.9315 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.6338, allocations: 0.7078 MB / 0.9322 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.6354, allocations: 0.6047 MB / 0.9328 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009515/0.6363, allocations: 0.6973 MB / 0.9335 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004427/0.6368, allocations: 229.1 kB / 0.9337 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006339/0.6374, allocations: 342.7 kB / 0.934 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.6378, allocations: 223.1 kB / 0.9342 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.6378, allocations: 24 kB / 0.9342 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.6392, allocations: 0.8611 MB / 0.9351 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.6394, allocations: 107.7 kB / 0.9352 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.6396, allocations: 171.2 kB / 0.9353 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.6407, allocations: 0.7311 MB / 0.9361 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.6407, allocations: 0 / 0.9361 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6407, allocations: 0 / 0.9361 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.6407, allocations: 0 / 0.9361 GB, free: 5.523 MB / 0.7012 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.0009641/0.6417, allocations: 0.6387 MB / 0.9367 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.6418, allocations: 12.03 kB / 0.9367 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.643, allocations: 155.4 kB / 0.9368 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.6435, allocations: 321.6 kB / 0.9371 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.6435, allocations: 16.44 kB / 0.9372 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.6436, allocations: 24 kB / 0.9372 GB, free: 4.277 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.6441, allocations: 279.4 kB / 0.9375 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6441, allocations: 7.875 kB / 0.9375 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.6441, allocations: 12 kB / 0.9375 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.6441, allocations: 4 kB / 0.9375 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.6446, allocations: 195.8 kB / 0.9377 GB, free: 3.773 MB / 0.7012 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.001425/0.646, allocations: 1.205 MB / 0.9388 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.6463, allocations: 138.4 kB / 0.939 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.6465, allocations: 88.81 kB / 0.9391 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005482/0.647, allocations: 307.2 kB / 0.9394 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.6471, allocations: 34.5 kB / 0.9394 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.6471, allocations: 0 / 0.9394 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15): time 0.0007924/0.6479, allocations: 285.4 kB / 0.9397 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.6479, allocations: 55.34 kB / 0.9397 GB, free: 1.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.6483, allocations: 320.5 kB / 0.94 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.6483, allocations: 25.7 kB / 0.94 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.6485, allocations: 188.1 kB / 0.9402 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.6485, allocations: 51.28 kB / 0.9403 GB, free: 0.8867 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.6486, allocations: 45.61 kB / 0.9403 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6488, allocations: 338.8 kB / 0.9406 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.6489, allocations: 71.95 kB / 0.9407 GB, free: 436 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.6491, allocations: 121.8 kB / 0.9408 GB, free: 296 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.6495, allocations: 189 kB / 0.941 GB, free: 88 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6495, allocations: 0 / 0.941 GB, free: 88 kB / 0.7012 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004601/0.65, allocations: 233.2 kB / 0.9412 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.65, allocations: 8 kB / 0.9412 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.65, allocations: 4.094 kB / 0.9412 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.65, allocations: 4 kB / 0.9412 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.6502, allocations: 43.91 kB / 0.9413 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6502, allocations: 0 / 0.9413 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.6504, allocations: 31.69 kB / 0.9413 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.6505, allocations: 15.98 kB / 0.9413 GB, free: 15.75 MB / 0.7169 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.0001541/0.6506, allocations: 152.1 kB / 0.9415 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.6507, allocations: 31.62 kB / 0.9415 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.6512, allocations: 223.4 kB / 0.9417 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6512, allocations: 0 / 0.9417 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6512, allocations: 3.938 kB / 0.9417 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6512, allocations: 4 kB / 0.9417 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.6524, allocations: 0.6835 MB / 0.9424 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6524, allocations: 0 / 0.9424 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.6526, allocations: 35.97 kB / 0.9424 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6526, allocations: 3.938 kB / 0.9424 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.6526, allocations: 12.22 kB / 0.9424 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.6526, allocations: 7.938 kB / 0.9424 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6526, allocations: 3.938 kB / 0.9424 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006675/0.6533, allocations: 429 kB / 0.9429 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.6534, allocations: 124.7 kB / 0.943 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.6535, allocations: 11.86 kB / 0.943 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.6537, allocations: 12 kB / 0.943 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.6537, allocations: 12.05 kB / 0.943 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.6537, allocations: 8 kB / 0.943 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002268/0.654, allocations: 227 kB / 0.9432 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.654, allocations: 0 / 0.9432 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004169/0.6544, allocations: 79.91 kB / 0.9433 GB, free: 13.57 MB / 0.7169 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.0004478/0.6549, allocations: 174.5 kB / 0.9435 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004246/0.6553, allocations: 175.8 kB / 0.9436 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6553, allocations: 0 / 0.9436 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.6555, allocations: 96.44 kB / 0.9437 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008601/0.6564, allocations: 169.4 kB / 0.9439 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009986/0.6574, allocations: 0.5901 MB / 0.9445 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.6578, allocations: 0.7795 MB / 0.9452 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.658, allocations: 67.08 kB / 0.9453 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.6581, allocations: 23.44 kB / 0.9453 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/0.6581, allocations: 0 / 0.9453 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of Templates: time 0.01093/0.669, allocations: 5.763 MB / 0.9509 GB, free: 5.777 MB / 0.7169 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)