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.008206/0.008206, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001789/0.001789, allocations: 195 kB / 16.67 MB, free: 5.977 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.375/1.375, 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.002217/0.002217, allocations: 280.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9508/0.9508, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 95.84 kB / 0.6815 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4517, allocations: 86.97 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1663/0.618, allocations: 167.4 MB / 0.9298 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00247/0.6205, allocations: 1.551 MB / 0.9313 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.6207, allocations: 11.94 kB / 0.9314 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.6212, allocations: 150.8 kB / 0.9315 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.6227, allocations: 0.7039 MB / 0.9322 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.624, allocations: 0.5947 MB / 0.9328 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006911/0.6247, allocations: 0.6973 MB / 0.9334 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.6251, allocations: 229.1 kB / 0.9337 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004944/0.6256, allocations: 334.8 kB / 0.934 GB, free: 7.652 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.6258, allocations: 227.1 kB / 0.9342 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.6259, allocations: 20 kB / 0.9342 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.6271, allocations: 0.8689 MB / 0.9351 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.6273, allocations: 103.7 kB / 0.9352 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.6274, allocations: 171.1 kB / 0.9353 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009392/0.6284, allocations: 0.7223 MB / 0.936 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6284, allocations: 7.984 kB / 0.936 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6284, allocations: 0 / 0.936 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.6284, allocations: 0 / 0.936 GB, free: 5.543 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.0008429/0.6293, allocations: 0.6653 MB / 0.9367 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.6293, allocations: 8.031 kB / 0.9367 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.6304, allocations: 163.6 kB / 0.9369 GB, free: 4.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.6309, allocations: 317.9 kB / 0.9372 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.6309, allocations: 20.44 kB / 0.9372 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.6309, allocations: 23.95 kB / 0.9372 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.6314, allocations: 283.3 kB / 0.9375 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6314, allocations: 0 / 0.9375 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.6315, allocations: 12 kB / 0.9375 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.6315, allocations: 7.984 kB / 0.9375 GB, free: 3.953 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.6319, allocations: 195.8 kB / 0.9377 GB, free: 3.762 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.001283/0.6332, allocations: 1.202 MB / 0.9388 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.6334, allocations: 141.7 kB / 0.939 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.6336, allocations: 92.8 kB / 0.9391 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/0.6341, allocations: 303.2 kB / 0.9394 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.6342, allocations: 42.48 kB / 0.9394 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.6342, allocations: 0 / 0.9394 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15): time 0.0007173/0.6349, allocations: 273.3 kB / 0.9397 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.635, allocations: 59.34 kB / 0.9397 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.6353, allocations: 320.8 kB / 0.94 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.6353, allocations: 29.7 kB / 0.9401 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.6354, allocations: 184.3 kB / 0.9402 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.6355, allocations: 51.59 kB / 0.9403 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.6356, allocations: 45.66 kB / 0.9403 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6357, allocations: 342.8 kB / 0.9406 GB, free: 496 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.6359, allocations: 59.95 kB / 0.9407 GB, free: 436 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.6361, allocations: 133.8 kB / 0.9408 GB, free: 284 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.6364, allocations: 186.6 kB / 0.941 GB, free: 80 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6364, allocations: 0 / 0.941 GB, free: 80 kB / 0.7012 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004513/0.6369, allocations: 249.4 kB / 0.9412 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6369, allocations: 6.812 kB / 0.9413 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6369, allocations: 0 / 0.9413 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.6369, allocations: 4 kB / 0.9413 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.6371, allocations: 35.98 kB / 0.9413 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6371, allocations: 7.938 kB / 0.9413 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.6373, allocations: 35.86 kB / 0.9413 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.6373, allocations: 12 kB / 0.9413 GB, free: 15.73 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.000136/0.6375, allocations: 160.1 kB / 0.9415 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.6375, allocations: 27.81 kB / 0.9415 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.638, allocations: 220.3 kB / 0.9417 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.638, allocations: 4 kB / 0.9417 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.638, allocations: 4 kB / 0.9417 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.638, allocations: 0 / 0.9417 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009672/0.639, allocations: 0.6874 MB / 0.9424 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.639, allocations: 4 kB / 0.9424 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.6392, allocations: 31.92 kB / 0.9425 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.6392, allocations: 11.92 kB / 0.9425 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.6392, allocations: 4 kB / 0.9425 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6392, allocations: 4 kB / 0.9425 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6392, allocations: 4 kB / 0.9425 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/0.6398, allocations: 428.6 kB / 0.9429 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.64, allocations: 124.9 kB / 0.943 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.64, allocations: 15.77 kB / 0.943 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.6402, allocations: 7.984 kB / 0.943 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.6402, allocations: 19.92 kB / 0.943 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.6403, allocations: 4 kB / 0.943 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002013/0.6405, allocations: 231.1 kB / 0.9433 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6405, allocations: 0 / 0.9433 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003709/0.6408, allocations: 79.94 kB / 0.9433 GB, free: 13.54 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.0003538/0.6412, allocations: 163.3 kB / 0.9435 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004103/0.6416, allocations: 179.8 kB / 0.9437 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6416, allocations: 0 / 0.9437 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.6418, allocations: 95.8 kB / 0.9438 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/0.6427, allocations: 166.2 kB / 0.9439 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009135/0.6436, allocations: 0.6048 MB / 0.9445 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.6439, allocations: 0.7756 MB / 0.9453 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.6441, allocations: 71.08 kB / 0.9453 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.6442, allocations: 23.44 kB / 0.9454 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.6442, allocations: 0 / 0.9454 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.009629/0.6538, allocations: 5.762 MB / 0.951 GB, free: 5.746 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)