Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008715/0.0008715, allocations: 91.14 kB / 15.06 MB, free: 1.094 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.0008549/0.0008547, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001717/0.001717, allocations: 274.6 kB / 291.3 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006316/0.0006317, allocations: 10.59 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1876, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0181/0.2057, allocations: 17.78 MB / 0.7018 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007208/0.213, allocations: 4.846 MB / 0.7066 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008553/0.2139, allocations: 19.81 kB / 0.7066 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006763/0.2146, allocations: 186.7 kB / 0.7068 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.2163, allocations: 0.6143 MB / 0.7074 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.2182, allocations: 0.7446 MB / 0.7081 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.2201, allocations: 1.676 MB / 0.7097 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006239/0.2207, allocations: 411.5 kB / 0.7101 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009294/0.2216, allocations: 0.5367 MB / 0.7107 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.2223, allocations: 497.9 kB / 0.7111 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.2224, allocations: 35.94 kB / 0.7112 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.2236, allocations: 0.6003 MB / 0.7117 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.2237, allocations: 127.4 kB / 0.7119 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.2239, allocations: 157.3 kB / 0.712 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007707/0.2246, allocations: 0.7403 MB / 0.7127 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.2247, allocations: 4 kB / 0.7127 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2247, allocations: 0 / 0.7127 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.2247, allocations: 0 / 0.7127 GB, free: 2.434 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.001584/0.2263, allocations: 1.002 MB / 0.7137 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2263, allocations: 8.031 kB / 0.7137 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.2265, allocations: 79.06 kB / 0.7138 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006416/0.2271, allocations: 490.7 kB / 0.7143 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.2271, allocations: 40.94 kB / 0.7143 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.392e-05/0.2272, allocations: 55.95 kB / 0.7144 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.2282, allocations: 0.6333 MB / 0.715 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2283, allocations: 4 kB / 0.715 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.2283, allocations: 16 kB / 0.715 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.2283, allocations: 12 kB / 0.715 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009814/0.2293, allocations: 0.519 MB / 0.7155 GB, free: 15.44 MB / 0.5137 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.003125/0.2324, allocations: 3.212 MB / 0.7187 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006439/0.2331, allocations: 351.1 kB / 0.719 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.2336, allocations: 244.8 kB / 0.7192 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/0.2339, allocations: 348.3 kB / 0.7196 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.2339, allocations: 34.56 kB / 0.7196 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 1.833e-06/0.2339, allocations: 4 kB / 0.7196 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.002006/0.236, allocations: 0.8694 MB / 0.7204 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.236, allocations: 55.41 kB / 0.7205 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000622/0.2366, allocations: 0.59 MB / 0.7211 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.2367, allocations: 37.7 kB / 0.7211 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.2369, allocations: 332.3 kB / 0.7214 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.199e-05/0.237, allocations: 130.1 kB / 0.7216 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.237, allocations: 12 kB / 0.7216 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2372, allocations: 370.8 kB / 0.7219 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.2377, allocations: 221.2 kB / 0.7221 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005703/0.2382, allocations: 376 kB / 0.7225 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.2388, allocations: 248.7 kB / 0.7227 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.2388, allocations: 3.984 kB / 0.7227 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001349/0.2401, allocations: 0.7302 MB / 0.7234 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.2403, allocations: 219.4 kB / 0.7236 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2403, allocations: 7.938 kB / 0.7237 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/0.2409, allocations: 148.8 kB / 0.7238 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/0.2415, allocations: 159.8 kB / 0.724 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006134/0.2421, allocations: 0.6226 MB / 0.7246 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.2427, allocations: 107.2 kB / 0.7247 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.2428, allocations: 35.98 kB / 0.7247 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.2428, allocations: 4 kB / 0.7247 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/0.244, allocations: 0.6192 MB / 0.7253 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2441, allocations: 4 kB / 0.7253 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2441, allocations: 11.98 kB / 0.7253 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.2447, allocations: 163.7 kB / 0.7255 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.2447, allocations: 16.2 kB / 0.7255 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/0.2452, allocations: 95.47 kB / 0.7256 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.2453, allocations: 27.98 kB / 0.7256 GB, free: 4.578 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003032/0.2456, allocations: 269.6 kB / 0.7259 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.2457, allocations: 71.11 kB / 0.7259 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.2471, allocations: 0.6663 MB / 0.7266 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.2472, allocations: 8 kB / 0.7266 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.2472, allocations: 4 kB / 0.7266 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.2472, allocations: 3.984 kB / 0.7266 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.2496, allocations: 1.398 MB / 0.728 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.2497, allocations: 0 / 0.728 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.25, allocations: 91.88 kB / 0.7281 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004056/0.2504, allocations: 128.9 kB / 0.7282 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.2505, allocations: 19.94 kB / 0.7282 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005795/0.2511, allocations: 0.6343 MB / 0.7288 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2511, allocations: 0 / 0.7288 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.2523, allocations: 0.728 MB / 0.7295 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.2526, allocations: 200 kB / 0.7297 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.304e-05/0.2527, allocations: 15.98 kB / 0.7297 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.2531, allocations: 55.86 kB / 0.7298 GB, free: 136 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.2532, allocations: 31.91 kB / 0.7298 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.2533, allocations: 20 kB / 0.7298 GB, free: 84 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000481/0.2538, allocations: 403 kB / 0.7302 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.61e-07/0.2538, allocations: 0 / 0.7302 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001181/0.255, allocations: 387.4 kB / 0.7306 GB, free: 15.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006299/0.2556, allocations: 302.8 kB / 0.7309 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001982/0.2576, allocations: 0.9175 MB / 0.7318 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2576, allocations: 3.938 kB / 0.7318 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.2583, allocations: 291.9 kB / 0.7321 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.2597, allocations: 263.9 kB / 0.7323 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.2616, allocations: 1.298 MB / 0.7336 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.2622, allocations: 0.908 MB / 0.7345 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006099/0.2628, allocations: 161.2 kB / 0.7346 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.263, allocations: 63.41 kB / 0.7347 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of SimCode: time 8.92e-07/0.263, allocations: 0 / 0.7347 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of Templates: time 0.02046/0.2834, allocations: 11.76 MB / 0.7462 GB, free: 15.49 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)