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.001531/0.001531, allocations: 99.98 kB / 16.26 MB, free: 5.934 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.001856/0.001856, allocations: 188 kB / 17.2 MB, free: 5.574 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8771/0.8771, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 59.91 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4217, allocations: 77.92 MB / 0.5672 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02001/0.4417, allocations: 19.42 MB / 0.5862 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007212/0.449, allocations: 5.146 MB / 0.5912 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.4502, allocations: 19.75 kB / 0.5912 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008933/0.4512, allocations: 265.3 kB / 0.5915 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.4534, allocations: 0.7754 MB / 0.5922 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.4555, allocations: 0.8693 MB / 0.5931 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.4573, allocations: 1.538 MB / 0.5946 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006321/0.4579, allocations: 0.5123 MB / 0.5951 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009848/0.4589, allocations: 0.6209 MB / 0.5957 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005661/0.4595, allocations: 0.5224 MB / 0.5962 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.4596, allocations: 55.78 kB / 0.5962 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.4609, allocations: 0.6972 MB / 0.5969 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.461, allocations: 170.4 kB / 0.5971 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.4614, allocations: 385.4 kB / 0.5975 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.4627, allocations: 1.08 MB / 0.5985 GB, free: 9.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4627, allocations: 1.344 kB / 0.5985 GB, free: 9.699 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.4627, allocations: 0 / 0.5985 GB, free: 9.699 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.4627, allocations: 0 / 0.5985 GB, free: 9.699 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.001707/0.4644, allocations: 1.1 MB / 0.5996 GB, free: 8.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4645, allocations: 9.906 kB / 0.5996 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.4646, allocations: 83.97 kB / 0.5997 GB, free: 8.773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006532/0.4653, allocations: 0.5021 MB / 0.6002 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.4653, allocations: 36.53 kB / 0.6002 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.4654, allocations: 53.25 kB / 0.6002 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.4663, allocations: 0.618 MB / 0.6009 GB, free: 7.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4664, allocations: 1.062 kB / 0.6009 GB, free: 7.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.4664, allocations: 22.12 kB / 0.6009 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.4664, allocations: 20.02 kB / 0.6009 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/0.4674, allocations: 494.5 kB / 0.6014 GB, free: 7.586 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.002521/0.47, allocations: 3.229 MB / 0.6045 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.4706, allocations: 343.4 kB / 0.6048 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.471, allocations: 228.8 kB / 0.6051 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.4713, allocations: 352.4 kB / 0.6054 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.4713, allocations: 34.56 kB / 0.6054 GB, free: 3.145 MB / 446.1 MB Notification: Performance of pre-optimization done (n=38): time 1.503e-06/0.4713, allocations: 3.938 kB / 0.6054 GB, free: 3.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=38): time 0.001865/0.4732, allocations: 0.8063 MB / 0.6062 GB, free: 2.305 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.4732, allocations: 55.41 kB / 0.6063 GB, free: 2.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004832/0.4737, allocations: 0.5938 MB / 0.6069 GB, free: 1.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.4738, allocations: 37.7 kB / 0.6069 GB, free: 1.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.4739, allocations: 320.5 kB / 0.6072 GB, free: 1.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.474, allocations: 138 kB / 0.6073 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.4742, allocations: 130.1 kB / 0.6075 GB, free: 1.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.4742, allocations: 370.8 kB / 0.6078 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.4747, allocations: 219.4 kB / 0.608 GB, free: 428 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.4752, allocations: 368 kB / 0.6084 GB, free: 16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.4763, allocations: 0.5782 MB / 0.6089 GB, free: 15.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4763, allocations: 0 / 0.6089 GB, free: 15.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001476/0.4778, allocations: 0.7106 MB / 0.6096 GB, free: 14.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4778, allocations: 8 kB / 0.6096 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4778, allocations: 4 kB / 0.6096 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006542/0.4785, allocations: 149.1 kB / 0.6098 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.479, allocations: 135.8 kB / 0.6099 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005683/0.4796, allocations: 0.6187 MB / 0.6105 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/0.4802, allocations: 79.3 kB / 0.6106 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.4803, allocations: 28 kB / 0.6106 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007016/0.481, allocations: 354 kB / 0.611 GB, free: 13.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006007/0.4816, allocations: 368.1 kB / 0.6113 GB, free: 12.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001019/0.4826, allocations: 0.555 MB / 0.6118 GB, free: 12.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.4826, allocations: 0 / 0.6118 GB, free: 12.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001308/0.484, allocations: 0.6749 MB / 0.6125 GB, free: 11.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.484, allocations: 11.98 kB / 0.6125 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.484, allocations: 4 kB / 0.6125 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.484, allocations: 8 kB / 0.6125 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/0.4846, allocations: 159.8 kB / 0.6127 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.4846, allocations: 8 kB / 0.6127 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/0.4851, allocations: 79.64 kB / 0.6128 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.4852, allocations: 31.98 kB / 0.6128 GB, free: 11.23 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.0001815/0.4854, allocations: 216.1 kB / 0.613 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.4855, allocations: 63.16 kB / 0.6131 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.487, allocations: 0.644 MB / 0.6137 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.487, allocations: 7.938 kB / 0.6137 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.487, allocations: 3.938 kB / 0.6137 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.487, allocations: 7.984 kB / 0.6137 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.4895, allocations: 1.359 MB / 0.615 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4896, allocations: 4 kB / 0.615 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.4899, allocations: 87.97 kB / 0.6151 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003926/0.4903, allocations: 104.8 kB / 0.6152 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.4904, allocations: 19.98 kB / 0.6152 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007237/0.4911, allocations: 0.6265 MB / 0.6159 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4911, allocations: 0 / 0.6159 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.4925, allocations: 0.6968 MB / 0.6165 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.4927, allocations: 196 kB / 0.6167 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/0.4928, allocations: 12 kB / 0.6167 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.4932, allocations: 27.97 kB / 0.6168 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.4933, allocations: 39.89 kB / 0.6168 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.4934, allocations: 19.98 kB / 0.6168 GB, free: 6.941 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006221/0.494, allocations: 407 kB / 0.6172 GB, free: 6.551 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.494, allocations: 0 / 0.6172 GB, free: 6.551 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001395/0.4954, allocations: 383.4 kB / 0.6176 GB, free: 6.176 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.0007303/0.4962, allocations: 306.1 kB / 0.6179 GB, free: 5.879 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002126/0.4983, allocations: 0.8862 MB / 0.6187 GB, free: 4.996 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4983, allocations: 0 / 0.6187 GB, free: 4.996 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006897/0.499, allocations: 288 kB / 0.619 GB, free: 4.715 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.5002, allocations: 233 kB / 0.6192 GB, free: 4.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.5021, allocations: 1.083 MB / 0.6203 GB, free: 3.379 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.5027, allocations: 0.9118 MB / 0.6212 GB, free: 2.438 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005745/0.5032, allocations: 144.1 kB / 0.6213 GB, free: 2.301 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.5034, allocations: 63.41 kB / 0.6214 GB, free: 2.238 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5034, allocations: 0 / 0.6214 GB, free: 2.238 MB / 462.1 MB Notification: Performance of Templates: time 0.02444/0.5279, allocations: 12.63 MB / 0.6337 GB, free: 5.816 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)