Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0012/0.0012, allocations: 102.7 kB / 16.64 MB, free: 6.824 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.001308/0.001308, allocations: 197.9 kB / 17.57 MB, free: 5.93 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.376/1.376, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7986/0.7986, allocations: 122.8 MB / 414.2 MB, free: 60 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 0.4912 GB, free: 7.848 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4047, allocations: 77.92 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2062/0.611, allocations: 165.1 MB / 0.7285 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003404/0.6144, allocations: 1.541 MB / 0.73 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006216/0.6151, allocations: 11.94 kB / 0.7301 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007198/0.6158, allocations: 119.2 kB / 0.7302 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.6183, allocations: 0.6731 MB / 0.7308 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.6202, allocations: 0.5526 MB / 0.7314 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.6213, allocations: 0.709 MB / 0.7321 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.6219, allocations: 227.2 kB / 0.7323 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009145/0.6228, allocations: 338.7 kB / 0.7326 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.6233, allocations: 239 kB / 0.7328 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.11e-05/0.6234, allocations: 24 kB / 0.7329 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.6253, allocations: 0.8921 MB / 0.7337 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.6255, allocations: 107.7 kB / 0.7338 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.6258, allocations: 163.2 kB / 0.734 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.6268, allocations: 0.499 MB / 0.7345 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.6269, allocations: 0 / 0.7345 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6269, allocations: 3.938 kB / 0.7345 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.6269, allocations: 4 kB / 0.7345 GB, free: 15.3 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.001268/0.6282, allocations: 0.6466 MB / 0.7351 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6282, allocations: 8.625 kB / 0.7351 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.6296, allocations: 155.4 kB / 0.7353 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.6301, allocations: 301.7 kB / 0.7356 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.6301, allocations: 20.44 kB / 0.7356 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.6302, allocations: 24 kB / 0.7356 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.6308, allocations: 279.4 kB / 0.7359 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.6308, allocations: 0 / 0.7359 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.6308, allocations: 8 kB / 0.7359 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.6308, allocations: 4 kB / 0.7359 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.6313, allocations: 211.6 kB / 0.7361 GB, free: 13.55 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.001653/0.6329, allocations: 1.201 MB / 0.7372 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.6333, allocations: 138.5 kB / 0.7374 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.6335, allocations: 88.8 kB / 0.7375 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000719/0.6342, allocations: 307.2 kB / 0.7378 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.6342, allocations: 38.5 kB / 0.7378 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.903e-06/0.6343, allocations: 4 kB / 0.7378 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.000863/0.6351, allocations: 277.4 kB / 0.7381 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.6352, allocations: 55.41 kB / 0.7381 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.6355, allocations: 312.5 kB / 0.7384 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.6356, allocations: 29.7 kB / 0.7384 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.6357, allocations: 184.1 kB / 0.7386 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.6358, allocations: 59.19 kB / 0.7387 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.6359, allocations: 41.7 kB / 0.7387 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6361, allocations: 338.8 kB / 0.739 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.6363, allocations: 63.95 kB / 0.7391 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.6365, allocations: 133 kB / 0.7392 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.6369, allocations: 181 kB / 0.7394 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6369, allocations: 4 kB / 0.7394 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000524/0.6374, allocations: 244.3 kB / 0.7396 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.6375, allocations: 7.938 kB / 0.7396 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.6375, allocations: 4 kB / 0.7396 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.6375, allocations: 0 / 0.7396 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.6377, allocations: 43.92 kB / 0.7397 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.6377, allocations: 8.078 kB / 0.7397 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.638, allocations: 35.67 kB / 0.7397 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.638, allocations: 12 kB / 0.7397 GB, free: 9.523 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.0001652/0.6382, allocations: 149.7 kB / 0.7399 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.6383, allocations: 31.62 kB / 0.7399 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/0.6388, allocations: 227 kB / 0.7401 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.6388, allocations: 4 kB / 0.7401 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6388, allocations: 0 / 0.7401 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.6388, allocations: 0 / 0.7401 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.6399, allocations: 0.6834 MB / 0.7408 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.64, allocations: 4 kB / 0.7408 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.6401, allocations: 31.92 kB / 0.7408 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.6401, allocations: 3.938 kB / 0.7408 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.6402, allocations: 8 kB / 0.7408 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.6402, allocations: 4 kB / 0.7409 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6402, allocations: 8.156 kB / 0.7409 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.6409, allocations: 432.9 kB / 0.7413 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.641, allocations: 124.8 kB / 0.7414 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.6411, allocations: 7.938 kB / 0.7414 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.6413, allocations: 15.98 kB / 0.7414 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.6413, allocations: 12.05 kB / 0.7414 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.6414, allocations: 12 kB / 0.7414 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002316/0.6416, allocations: 227 kB / 0.7417 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6416, allocations: 0 / 0.7417 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004064/0.642, allocations: 71.91 kB / 0.7417 GB, free: 7.348 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.000466/0.6425, allocations: 182.6 kB / 0.7419 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004408/0.6429, allocations: 175.8 kB / 0.7421 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.643, allocations: 0 / 0.7421 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.6432, allocations: 88.38 kB / 0.7421 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009027/0.6441, allocations: 173.4 kB / 0.7423 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.6453, allocations: 0.7167 MB / 0.743 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.6457, allocations: 0.7756 MB / 0.7438 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.6458, allocations: 27.44 kB / 0.7438 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.6458, allocations: 4 kB / 0.7438 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of Templates: time 0.008771/0.6545, allocations: 4.798 MB / 0.7485 GB, free: 416 kB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)