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.001/0.001, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 182.6 kB / 16.92 MB, free: 6.914 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.442/1.442, allocations: 223.2 MB / 240.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7303/0.7303, allocations: 123 MB / 415.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003115, allocations: 8 kB / 0.4933 GB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4617, allocations: 79.28 MB / 0.5707 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02273/0.4845, allocations: 18.74 MB / 0.589 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008/0.4925, allocations: 5.114 MB / 0.594 GB, free: 9.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007592/0.4933, allocations: 15.69 kB / 0.5941 GB, free: 9.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007609/0.4941, allocations: 213.4 kB / 0.5943 GB, free: 9.617 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.4961, allocations: 0.7128 MB / 0.595 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.4985, allocations: 0.7928 MB / 0.5957 GB, free: 8.793 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002806/0.5013, allocations: 1.951 MB / 0.5976 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007534/0.5021, allocations: 431.3 kB / 0.598 GB, free: 7.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.5033, allocations: 0.5645 MB / 0.5986 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008053/0.5041, allocations: 0.5224 MB / 0.5991 GB, free: 7.406 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.058e-05/0.5042, allocations: 28.53 kB / 0.5991 GB, free: 7.406 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.5059, allocations: 0.656 MB / 0.5998 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.5061, allocations: 136 kB / 0.5999 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.5065, allocations: 375.2 kB / 0.6003 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.5081, allocations: 1.045 MB / 0.6013 GB, free: 6.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5081, allocations: 3.938 kB / 0.6013 GB, free: 6.547 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5081, allocations: 1.094 kB / 0.6013 GB, free: 6.547 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.5081, allocations: 0 / 0.6013 GB, free: 6.547 MB / 446.1 MB 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.001818/0.5099, allocations: 0.9863 MB / 0.6023 GB, free: 5.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.51, allocations: 9.188 kB / 0.6023 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.5101, allocations: 83.72 kB / 0.6023 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007284/0.5109, allocations: 0.506 MB / 0.6028 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.5109, allocations: 41.25 kB / 0.6029 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.399e-05/0.511, allocations: 49.25 kB / 0.6029 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.5121, allocations: 0.633 MB / 0.6035 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5122, allocations: 1 kB / 0.6035 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/0.5122, allocations: 22.12 kB / 0.6036 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.5122, allocations: 11.09 kB / 0.6036 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.5134, allocations: 0.5207 MB / 0.6041 GB, free: 4.512 MB / 446.1 MB 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.003563/0.5169, allocations: 3.216 MB / 0.6072 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008381/0.5178, allocations: 358.9 kB / 0.6076 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005771/0.5184, allocations: 246.1 kB / 0.6078 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/0.5189, allocations: 341 kB / 0.6081 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.5189, allocations: 36.66 kB / 0.6082 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=38): time 3.086e-06/0.519, allocations: 0 / 0.6082 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of matching and sorting (n=38): time 0.002521/0.5215, allocations: 0.8696 MB / 0.609 GB, free: 368 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.5215, allocations: 62.78 kB / 0.6091 GB, free: 296 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007273/0.5223, allocations: 0.5833 MB / 0.6096 GB, free: 15.94 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.5223, allocations: 35.55 kB / 0.6097 GB, free: 15.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.5226, allocations: 327.9 kB / 0.61 GB, free: 15.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.5227, allocations: 135.3 kB / 0.6101 GB, free: 15.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.5228, allocations: 60.53 kB / 0.6102 GB, free: 15.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.5229, allocations: 368.6 kB / 0.6105 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.5235, allocations: 230.6 kB / 0.6107 GB, free: 14.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/0.5243, allocations: 384.5 kB / 0.6111 GB, free: 14.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.5255, allocations: 0.599 MB / 0.6117 GB, free: 14.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5255, allocations: 1.094 kB / 0.6117 GB, free: 14.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001609/0.5271, allocations: 0.7464 MB / 0.6124 GB, free: 13.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.5273, allocations: 225.9 kB / 0.6126 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5274, allocations: 4.875 kB / 0.6126 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007231/0.5281, allocations: 157.7 kB / 0.6128 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.5287, allocations: 149.4 kB / 0.6129 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006186/0.5293, allocations: 0.6209 MB / 0.6135 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/0.5301, allocations: 106.6 kB / 0.6136 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.5301, allocations: 30.92 kB / 0.6137 GB, free: 12.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/0.5302, allocations: 3.25 kB / 0.6137 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001336/0.5315, allocations: 0.6272 MB / 0.6143 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5315, allocations: 4.594 kB / 0.6143 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.5315, allocations: 9.25 kB / 0.6143 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.5321, allocations: 164.9 kB / 0.6145 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.5322, allocations: 11.48 kB / 0.6145 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.5328, allocations: 88.14 kB / 0.6146 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.5328, allocations: 31.17 kB / 0.6146 GB, free: 12.52 MB / 462.1 MB 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.0003848/0.5332, allocations: 268.8 kB / 0.6148 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.5333, allocations: 64.22 kB / 0.6149 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.535, allocations: 0.6813 MB / 0.6156 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.535, allocations: 4.094 kB / 0.6156 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.535, allocations: 1.25 kB / 0.6156 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.535, allocations: 3.984 kB / 0.6156 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/0.5378, allocations: 1.413 MB / 0.617 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.5378, allocations: 5.156 kB / 0.617 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.5382, allocations: 87.77 kB / 0.617 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/0.5386, allocations: 134.6 kB / 0.6172 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.5387, allocations: 11.72 kB / 0.6172 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006484/0.5393, allocations: 0.636 MB / 0.6178 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5393, allocations: 3.938 kB / 0.6178 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.5408, allocations: 0.7312 MB / 0.6185 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.5411, allocations: 202.3 kB / 0.6187 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.782e-05/0.5412, allocations: 14.75 kB / 0.6187 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.5417, allocations: 51.58 kB / 0.6188 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.5418, allocations: 35.02 kB / 0.6188 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.5419, allocations: 20.36 kB / 0.6188 GB, free: 9.523 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006544/0.5425, allocations: 407.2 kB / 0.6192 GB, free: 9.289 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5425, allocations: 3.938 kB / 0.6192 GB, free: 9.285 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001536/0.5441, allocations: 394.8 kB / 0.6196 GB, free: 9.188 MB / 462.1 MB 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.0006716/0.5448, allocations: 287.3 kB / 0.6199 GB, free: 9.012 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.5468, allocations: 0.914 MB / 0.6208 GB, free: 8.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5468, allocations: 0.625 kB / 0.6208 GB, free: 8.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007382/0.5476, allocations: 300.8 kB / 0.6211 GB, free: 8.137 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.5492, allocations: 273.3 kB / 0.6213 GB, free: 7.871 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.5512, allocations: 1.326 MB / 0.6226 GB, free: 6.512 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.5517, allocations: 0.9158 MB / 0.6235 GB, free: 5.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006022/0.5523, allocations: 152 kB / 0.6236 GB, free: 5.426 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.5525, allocations: 59.42 kB / 0.6237 GB, free: 5.367 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5525, allocations: 0 / 0.6237 GB, free: 5.367 MB / 462.1 MB Notification: Performance of Templates: time 0.02095/0.5735, allocations: 12.22 MB / 0.6356 GB, free: 9.316 MB / 478.1 MB 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)