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.001471/0.001471, allocations: 118.4 kB / 17.1 MB, free: 6.008 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.001517/0.001517, allocations: 189.6 kB / 18.02 MB, free: 5.094 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.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7273/0.7273, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 62.67 kB / 0.5583 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1697, allocations: 76.18 MB / 0.6327 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02052/0.1903, allocations: 19.41 MB / 0.6517 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007493/0.1978, allocations: 5.163 MB / 0.6567 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007547/0.1986, allocations: 19.88 kB / 0.6568 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007838/0.1994, allocations: 270 kB / 0.657 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.2013, allocations: 0.7614 MB / 0.6578 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.2034, allocations: 0.8856 MB / 0.6586 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00181/0.2052, allocations: 1.556 MB / 0.6601 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006493/0.2059, allocations: 0.5016 MB / 0.6606 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009667/0.2068, allocations: 0.6382 MB / 0.6613 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006151/0.2075, allocations: 0.5329 MB / 0.6618 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.813e-05/0.2076, allocations: 56 kB / 0.6618 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.2087, allocations: 0.6979 MB / 0.6625 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2089, allocations: 163.3 kB / 0.6627 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.2092, allocations: 382 kB / 0.663 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.2104, allocations: 1.094 MB / 0.6641 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2104, allocations: 0 / 0.6641 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2104, allocations: 0 / 0.6641 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.2104, allocations: 0 / 0.6641 GB, free: 4.266 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.001729/0.2122, allocations: 1.098 MB / 0.6652 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2122, allocations: 8.031 kB / 0.6652 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.2124, allocations: 83.91 kB / 0.6653 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007331/0.2131, allocations: 0.5265 MB / 0.6658 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.2131, allocations: 37 kB / 0.6658 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.2132, allocations: 59.98 kB / 0.6659 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009841/0.2142, allocations: 0.6216 MB / 0.6665 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2142, allocations: 0 / 0.6665 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/0.2143, allocations: 16 kB / 0.6665 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2143, allocations: 20 kB / 0.6665 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009876/0.2153, allocations: 487.4 kB / 0.667 GB, free: 1.168 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.003066/0.2184, allocations: 3.201 MB / 0.6701 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.219, allocations: 344.9 kB / 0.6704 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.2195, allocations: 228.7 kB / 0.6706 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/0.2198, allocations: 348.4 kB / 0.671 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2198, allocations: 38.56 kB / 0.671 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 1.813e-06/0.2198, allocations: 3.938 kB / 0.671 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.00201/0.2219, allocations: 0.7996 MB / 0.6718 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.2219, allocations: 59.39 kB / 0.6719 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.2225, allocations: 0.59 MB / 0.6724 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.2226, allocations: 37.7 kB / 0.6725 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.2228, allocations: 332.4 kB / 0.6728 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.324e-05/0.2229, allocations: 126.1 kB / 0.6729 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.2231, allocations: 130.2 kB / 0.673 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2232, allocations: 370.8 kB / 0.6734 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/0.2237, allocations: 223.3 kB / 0.6736 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.2243, allocations: 372 kB / 0.674 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.2253, allocations: 0.5627 MB / 0.6745 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.2253, allocations: 7.938 kB / 0.6745 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001388/0.2267, allocations: 0.7261 MB / 0.6752 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2268, allocations: 8 kB / 0.6752 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2268, allocations: 4 kB / 0.6752 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/0.2274, allocations: 129.3 kB / 0.6754 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.2279, allocations: 139.8 kB / 0.6755 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005416/0.2285, allocations: 0.6109 MB / 0.6761 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.229, allocations: 99.28 kB / 0.6762 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/0.2291, allocations: 35.98 kB / 0.6762 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006318/0.2297, allocations: 345.3 kB / 0.6765 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005619/0.2303, allocations: 360 kB / 0.6769 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001096/0.2314, allocations: 0.5626 MB / 0.6774 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.2314, allocations: 4 kB / 0.6774 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001274/0.2327, allocations: 0.6673 MB / 0.6781 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2327, allocations: 8 kB / 0.6781 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2327, allocations: 8.031 kB / 0.6781 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2328, allocations: 11.94 kB / 0.6781 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.2333, allocations: 151.8 kB / 0.6783 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2334, allocations: 7.984 kB / 0.6783 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.2339, allocations: 67.56 kB / 0.6783 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.2339, allocations: 31.92 kB / 0.6784 GB, free: 4.828 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.0001903/0.2341, allocations: 220.1 kB / 0.6786 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2342, allocations: 59.25 kB / 0.6786 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.2357, allocations: 0.6421 MB / 0.6793 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.2357, allocations: 7.969 kB / 0.6793 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2357, allocations: 3.938 kB / 0.6793 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.236, allocations: 196 kB / 0.6795 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.2361, allocations: 11.94 kB / 0.6795 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.2365, allocations: 35.95 kB / 0.6795 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.2366, allocations: 32.33 kB / 0.6795 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001519/0.2381, allocations: 0.659 MB / 0.6802 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001675/0.2398, allocations: 0.966 MB / 0.6811 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004823/0.2403, allocations: 236.2 kB / 0.6813 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000442/0.2407, allocations: 403.1 kB / 0.6817 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of Backend: time 7.71e-07/0.2407, allocations: 0 / 0.6817 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002519/0.2433, allocations: 0.9435 MB / 0.6827 GB, free: 404 kB / 0.5137 GB Notification: Performance of SimCode: time 0.002469/0.2457, allocations: 1.609 MB / 0.6842 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of Templates: time 0.02478/0.2705, allocations: 14.4 MB / 0.6983 GB, free: 0.5 MB / 0.5294 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)