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.001753/0.001753, allocations: 117 kB / 17.09 MB, free: 5.969 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.002283/0.002283, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7721/0.7721, allocations: 115.3 MB / 407.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 68.62 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1465, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01966/0.1662, allocations: 19.41 MB / 0.6517 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008744/0.175, allocations: 5.16 MB / 0.6567 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.1761, allocations: 19.88 kB / 0.6567 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008612/0.177, allocations: 262 kB / 0.657 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.1791, allocations: 0.7769 MB / 0.6578 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.1813, allocations: 0.8776 MB / 0.6586 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002042/0.1834, allocations: 1.56 MB / 0.6601 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006934/0.1841, allocations: 0.5132 MB / 0.6606 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.1852, allocations: 0.6343 MB / 0.6613 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007196/0.1859, allocations: 0.5329 MB / 0.6618 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.186, allocations: 56 kB / 0.6618 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.1874, allocations: 0.6979 MB / 0.6625 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.1876, allocations: 163.3 kB / 0.6627 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003763/0.188, allocations: 378 kB / 0.663 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.1895, allocations: 1.094 MB / 0.6641 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1895, allocations: 4 kB / 0.6641 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1895, allocations: 0 / 0.6641 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.1896, allocations: 0 / 0.6641 GB, free: 4.148 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.001881/0.1914, allocations: 1.094 MB / 0.6652 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1915, allocations: 16.03 kB / 0.6652 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.1916, allocations: 83.91 kB / 0.6653 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/0.1924, allocations: 0.5226 MB / 0.6658 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.1925, allocations: 40.94 kB / 0.6658 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/0.1925, allocations: 48 kB / 0.6659 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.1936, allocations: 0.6138 MB / 0.6665 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1937, allocations: 11.94 kB / 0.6665 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.1937, allocations: 20 kB / 0.6665 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1937, allocations: 12 kB / 0.6665 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.1948, allocations: 491.4 kB / 0.667 GB, free: 1.055 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.003393/0.1982, allocations: 3.197 MB / 0.6701 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/0.1989, allocations: 352.3 kB / 0.6704 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.1994, allocations: 227.2 kB / 0.6706 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/0.1997, allocations: 348.4 kB / 0.671 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.1998, allocations: 38.56 kB / 0.671 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 1.923e-06/0.1998, allocations: 0 / 0.671 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.002156/0.2019, allocations: 0.8075 MB / 0.6718 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.202, allocations: 55.41 kB / 0.6719 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006612/0.2027, allocations: 0.59 MB / 0.6724 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.2027, allocations: 37.7 kB / 0.6725 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.203, allocations: 332.3 kB / 0.6728 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.2031, allocations: 134.1 kB / 0.6729 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.2033, allocations: 126.2 kB / 0.673 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2035, allocations: 374.8 kB / 0.6734 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.204, allocations: 219.4 kB / 0.6736 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006148/0.2046, allocations: 372 kB / 0.674 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.2057, allocations: 0.5704 MB / 0.6745 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2057, allocations: 0 / 0.6745 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001463/0.2071, allocations: 0.7182 MB / 0.6752 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2072, allocations: 8 kB / 0.6752 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2072, allocations: 4 kB / 0.6752 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/0.2078, allocations: 137.4 kB / 0.6754 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/0.2084, allocations: 139.8 kB / 0.6755 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005721/0.209, allocations: 0.6148 MB / 0.6761 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.2095, allocations: 83.31 kB / 0.6762 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.2096, allocations: 35.98 kB / 0.6762 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006347/0.2102, allocations: 349.3 kB / 0.6765 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005892/0.2108, allocations: 364 kB / 0.6769 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001056/0.2119, allocations: 0.5549 MB / 0.6774 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.2119, allocations: 0 / 0.6774 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001343/0.2132, allocations: 0.6789 MB / 0.6781 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2133, allocations: 11.94 kB / 0.6781 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2133, allocations: 4 kB / 0.6781 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.2133, allocations: 8 kB / 0.6781 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008673/0.2142, allocations: 155.8 kB / 0.6783 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/0.2142, allocations: 11.94 kB / 0.6783 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/0.2149, allocations: 75.61 kB / 0.6783 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.215, allocations: 31.98 kB / 0.6784 GB, free: 4.703 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.0002039/0.2152, allocations: 216.1 kB / 0.6786 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.2153, allocations: 63.25 kB / 0.6786 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.2172, allocations: 0.6356 MB / 0.6793 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.2173, allocations: 4 kB / 0.6793 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.2173, allocations: 11.88 kB / 0.6793 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2173, allocations: 4 kB / 0.6793 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.2203, allocations: 1.371 MB / 0.6806 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2203, allocations: 0 / 0.6806 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.2207, allocations: 87.88 kB / 0.6807 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003637/0.221, allocations: 104.9 kB / 0.6808 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/0.2211, allocations: 20 kB / 0.6808 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000694/0.2218, allocations: 0.6264 MB / 0.6814 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2218, allocations: 0 / 0.6814 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.2235, allocations: 0.7058 MB / 0.6821 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.2239, allocations: 188.1 kB / 0.6823 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.224, allocations: 16 kB / 0.6823 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/0.2245, allocations: 36.02 kB / 0.6824 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2246, allocations: 35.95 kB / 0.6824 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.2246, allocations: 12 kB / 0.6824 GB, free: 424 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005566/0.2252, allocations: 403.1 kB / 0.6828 GB, free: 24 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2252, allocations: 0 / 0.6828 GB, free: 24 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001367/0.2266, allocations: 387.4 kB / 0.6832 GB, free: 15.64 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.0007677/0.2274, allocations: 301.5 kB / 0.6834 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002097/0.2295, allocations: 0.882 MB / 0.6843 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2295, allocations: 0 / 0.6843 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000713/0.2302, allocations: 275.7 kB / 0.6846 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.2314, allocations: 233.7 kB / 0.6848 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.2334, allocations: 1.093 MB / 0.6859 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.2339, allocations: 0.9194 MB / 0.6868 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.2341, allocations: 63.42 kB / 0.6868 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.2341, allocations: 0 / 0.6868 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.01851/0.2527, allocations: 12.93 MB / 0.6994 GB, free: 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)