Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 105.7 kB / 16.4 MB, free: 6.449 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.001845/0.001845, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7762/0.7762, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.8 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1924, allocations: 76.16 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02181/0.2142, allocations: 19.43 MB / 0.651 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00828/0.2226, allocations: 5.149 MB / 0.6561 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.2237, allocations: 19.88 kB / 0.6561 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008827/0.2247, allocations: 270 kB / 0.6563 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.2272, allocations: 0.8104 MB / 0.6571 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.2297, allocations: 0.8762 MB / 0.658 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.2322, allocations: 1.562 MB / 0.6595 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009467/0.2331, allocations: 0.5132 MB / 0.66 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.2346, allocations: 0.6382 MB / 0.6606 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007031/0.2353, allocations: 0.5291 MB / 0.6612 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.827e-05/0.2354, allocations: 52 kB / 0.6612 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.2371, allocations: 0.6979 MB / 0.6619 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.2373, allocations: 171.3 kB / 0.6621 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004327/0.2378, allocations: 382 kB / 0.6624 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.2393, allocations: 1.094 MB / 0.6635 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2394, allocations: 0 / 0.6635 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2394, allocations: 0 / 0.6635 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.2394, allocations: 0 / 0.6635 GB, free: 4.129 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001978/0.2414, allocations: 1.094 MB / 0.6646 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.2414, allocations: 8.031 kB / 0.6646 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.2416, allocations: 83.91 kB / 0.6646 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.2425, allocations: 0.5265 MB / 0.6652 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.2426, allocations: 37 kB / 0.6652 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.862e-05/0.2427, allocations: 52 kB / 0.6652 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.2439, allocations: 0.6177 MB / 0.6658 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.2439, allocations: 3.938 kB / 0.6658 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.244, allocations: 24 kB / 0.6659 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.244, allocations: 12 kB / 0.6659 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.2451, allocations: 491.4 kB / 0.6664 GB, free: 1.039 MB / 0.4981 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.003631/0.2487, allocations: 3.201 MB / 0.6695 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000712/0.2494, allocations: 350.9 kB / 0.6698 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.2499, allocations: 228.7 kB / 0.67 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/0.2503, allocations: 348.4 kB / 0.6704 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.2504, allocations: 30.56 kB / 0.6704 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 5.38e-06/0.2504, allocations: 4 kB / 0.6704 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.002216/0.2526, allocations: 0.8075 MB / 0.6712 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.2527, allocations: 55.41 kB / 0.6712 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007015/0.2534, allocations: 0.59 MB / 0.6718 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.2534, allocations: 37.64 kB / 0.6718 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.2537, allocations: 328.4 kB / 0.6722 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.2538, allocations: 138.1 kB / 0.6723 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.254, allocations: 126.2 kB / 0.6724 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2542, allocations: 370.8 kB / 0.6728 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/0.2548, allocations: 219.4 kB / 0.673 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/0.2554, allocations: 376 kB / 0.6733 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.2565, allocations: 0.5665 MB / 0.6739 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2565, allocations: 4 kB / 0.6739 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001497/0.258, allocations: 0.7224 MB / 0.6746 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.2581, allocations: 8 kB / 0.6746 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.2581, allocations: 4 kB / 0.6746 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/0.2587, allocations: 133.1 kB / 0.6747 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.2593, allocations: 143.8 kB / 0.6749 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006266/0.26, allocations: 0.6226 MB / 0.6755 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.2605, allocations: 79.25 kB / 0.6756 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.2606, allocations: 31.98 kB / 0.6756 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007178/0.2613, allocations: 357.4 kB / 0.6759 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005972/0.2619, allocations: 360 kB / 0.6763 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00109/0.263, allocations: 0.5549 MB / 0.6768 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.007e-06/0.2631, allocations: 4 kB / 0.6768 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001427/0.2645, allocations: 0.6745 MB / 0.6775 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2645, allocations: 8 kB / 0.6775 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2645, allocations: 4 kB / 0.6775 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.2645, allocations: 8.562 kB / 0.6775 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.2652, allocations: 159.8 kB / 0.6776 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.2652, allocations: 7.938 kB / 0.6777 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.2657, allocations: 71.48 kB / 0.6777 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.2657, allocations: 31.98 kB / 0.6778 GB, free: 4.688 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002041/0.2659, allocations: 224 kB / 0.678 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2661, allocations: 59.25 kB / 0.678 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.2676, allocations: 0.642 MB / 0.6787 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.2676, allocations: 4 kB / 0.6787 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.2676, allocations: 3.938 kB / 0.6787 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2676, allocations: 0 / 0.6787 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.2701, allocations: 1.375 MB / 0.68 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.2701, allocations: 0 / 0.68 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.2705, allocations: 96.03 kB / 0.6801 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003785/0.2709, allocations: 104.8 kB / 0.6802 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.2709, allocations: 15.98 kB / 0.6802 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000621/0.2716, allocations: 0.6303 MB / 0.6808 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2716, allocations: 0 / 0.6808 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.2729, allocations: 0.7019 MB / 0.6815 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.2732, allocations: 188.1 kB / 0.6817 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.058e-05/0.2733, allocations: 15.98 kB / 0.6817 GB, free: 488 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.2737, allocations: 31.97 kB / 0.6817 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.2738, allocations: 31.95 kB / 0.6818 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.2738, allocations: 20 kB / 0.6818 GB, free: 404 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004885/0.2743, allocations: 407 kB / 0.6822 GB, free: 0 / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2743, allocations: 0 / 0.6822 GB, free: 0 / 0.5137 GB Notification: Performance of remove unused functions: time 0.00115/0.2755, allocations: 383.4 kB / 0.6825 GB, free: 15.62 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006573/0.2762, allocations: 301.6 kB / 0.6828 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.2782, allocations: 0.8745 MB / 0.6837 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2782, allocations: 4 kB / 0.6837 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007208/0.279, allocations: 279.7 kB / 0.6839 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.2801, allocations: 235.7 kB / 0.6842 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.2819, allocations: 1.066 MB / 0.6852 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.2824, allocations: 0.9116 MB / 0.6861 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005123/0.2829, allocations: 155.5 kB / 0.6863 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.2831, allocations: 59.42 kB / 0.6863 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of SimCode: time 4.8e-07/0.2831, allocations: 0 / 0.6863 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of Templates: time 0.02251/0.3056, allocations: 12.71 MB / 0.6987 GB, free: 15.15 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)