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.001358/0.001358, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001245/0.001245, allocations: 187 kB / 17.34 MB, free: 5.73 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002335/0.002335, allocations: 291.7 kB / 291.5 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.9684/0.9684, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4644, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1672/0.6316, allocations: 167.4 MB / 0.9305 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00305/0.6347, allocations: 1.55 MB / 0.932 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.635, allocations: 11.94 kB / 0.932 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.6355, allocations: 150.8 kB / 0.9322 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.6374, allocations: 0.7039 MB / 0.9328 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.6389, allocations: 0.6006 MB / 0.9334 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009597/0.6399, allocations: 0.7051 MB / 0.9341 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.6402, allocations: 225.1 kB / 0.9343 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005924/0.6408, allocations: 330.8 kB / 0.9347 GB, free: 7.668 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.6411, allocations: 231 kB / 0.9349 GB, free: 7.441 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.6412, allocations: 20 kB / 0.9349 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.6427, allocations: 0.869 MB / 0.9357 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.6428, allocations: 103.7 kB / 0.9358 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.643, allocations: 171.1 kB / 0.936 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009706/0.644, allocations: 0.7234 MB / 0.9367 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.644, allocations: 0 / 0.9367 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.322e-06/0.644, allocations: 0 / 0.9367 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.644, allocations: 0 / 0.9367 GB, free: 5.559 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.0008933/0.6449, allocations: 0.6504 MB / 0.9373 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.645, allocations: 8.031 kB / 0.9374 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6461, allocations: 155.5 kB / 0.9375 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.6466, allocations: 313.7 kB / 0.9378 GB, free: 4.352 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.6466, allocations: 24.44 kB / 0.9378 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.6467, allocations: 20 kB / 0.9378 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.6472, allocations: 283.3 kB / 0.9381 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.6472, allocations: 3.984 kB / 0.9381 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.6472, allocations: 8 kB / 0.9381 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.6472, allocations: 4 kB / 0.9381 GB, free: 4 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.6476, allocations: 203.8 kB / 0.9383 GB, free: 3.801 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.00132/0.649, allocations: 1.201 MB / 0.9395 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.6492, allocations: 134.5 kB / 0.9396 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.6494, allocations: 88.81 kB / 0.9397 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005454/0.65, allocations: 307.2 kB / 0.94 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.65, allocations: 38.44 kB / 0.94 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.65, allocations: 0 / 0.94 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15): time 0.0007386/0.6507, allocations: 285.3 kB / 0.9403 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.6508, allocations: 59.41 kB / 0.9404 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.6511, allocations: 312.5 kB / 0.9407 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.6511, allocations: 29.7 kB / 0.9407 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.6513, allocations: 188 kB / 0.9409 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.6513, allocations: 51.3 kB / 0.9409 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.6514, allocations: 49.61 kB / 0.941 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6515, allocations: 338.8 kB / 0.9413 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.6517, allocations: 63.95 kB / 0.9414 GB, free: 472 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.6519, allocations: 126.5 kB / 0.9415 GB, free: 328 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.6523, allocations: 189 kB / 0.9417 GB, free: 120 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6523, allocations: 0 / 0.9417 GB, free: 120 kB / 0.7012 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004585/0.6527, allocations: 245.3 kB / 0.9419 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.6528, allocations: 4 kB / 0.9419 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6528, allocations: 0 / 0.9419 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.6528, allocations: 4 kB / 0.9419 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.653, allocations: 51.91 kB / 0.9419 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.653, allocations: 4 kB / 0.9419 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.6532, allocations: 27.67 kB / 0.942 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.6532, allocations: 12 kB / 0.942 GB, free: 15.77 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.0001411/0.6534, allocations: 160.2 kB / 0.9421 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.6534, allocations: 27.62 kB / 0.9422 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.6539, allocations: 212.3 kB / 0.9424 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6539, allocations: 4 kB / 0.9424 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6539, allocations: 0 / 0.9424 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6539, allocations: 0 / 0.9424 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009779/0.6549, allocations: 0.6873 MB / 0.943 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6549, allocations: 8.156 kB / 0.9431 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.6551, allocations: 31.98 kB / 0.9431 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.6551, allocations: 7.938 kB / 0.9431 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.6551, allocations: 4 kB / 0.9431 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.6551, allocations: 4 kB / 0.9431 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6551, allocations: 7.938 kB / 0.9431 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.6557, allocations: 424.3 kB / 0.9435 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.6559, allocations: 128.7 kB / 0.9436 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.6559, allocations: 7.938 kB / 0.9436 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.6561, allocations: 16 kB / 0.9437 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.6562, allocations: 15.92 kB / 0.9437 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.6562, allocations: 8 kB / 0.9437 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002031/0.6564, allocations: 227 kB / 0.9439 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6564, allocations: 0 / 0.9439 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000376/0.6568, allocations: 83.89 kB / 0.944 GB, free: 13.59 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.00037/0.6571, allocations: 180.8 kB / 0.9441 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004141/0.6576, allocations: 175.9 kB / 0.9443 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6576, allocations: 192 / 0.9443 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.6578, allocations: 83.89 kB / 0.9444 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008518/0.6586, allocations: 167.6 kB / 0.9446 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009496/0.6596, allocations: 0.6268 MB / 0.9452 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.6599, allocations: 0.7717 MB / 0.9459 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.66, allocations: 31.44 kB / 0.9459 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.66, allocations: 0 / 0.9459 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.008045/0.6681, allocations: 4.877 MB / 0.9507 GB, free: 6.668 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)