Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 108.3 kB / 17.03 MB, free: 5.656 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.001077/0.001077, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.285/1.285, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6892/0.6892, allocations: 115.1 MB / 406.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 64.14 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3409, allocations: 76.14 MB / 0.5576 GB, free: 36.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.024/0.3649, allocations: 29.8 MB / 0.5867 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.3763, allocations: 8.136 MB / 0.5946 GB, free: 9.504 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.3782, allocations: 29.22 kB / 0.5946 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.3795, allocations: 431.2 kB / 0.595 GB, free: 9.223 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005295/0.3848, allocations: 1.375 MB / 0.5964 GB, free: 8.438 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00365/0.3885, allocations: 1.139 MB / 0.5975 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005192/0.3937, allocations: 3.556 MB / 0.601 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.3956, allocations: 1.336 MB / 0.6023 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003027/0.3986, allocations: 1.683 MB / 0.6039 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.4013, allocations: 1.611 MB / 0.6055 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000382/0.4017, allocations: 126.1 kB / 0.6056 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.4038, allocations: 1.02 MB / 0.6066 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003504/0.4042, allocations: 410.7 kB / 0.607 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007168/0.4049, allocations: 0.7505 MB / 0.6077 GB, free: 1.062 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.4071, allocations: 2.212 MB / 0.6099 GB, free: 14.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4071, allocations: 0 / 0.6099 GB, free: 14.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4072, allocations: 0 / 0.6099 GB, free: 14.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.4072, allocations: 0 / 0.6099 GB, free: 14.84 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002556/0.4097, allocations: 1.667 MB / 0.6115 GB, free: 13.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4098, allocations: 12.03 kB / 0.6115 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/0.4101, allocations: 151.4 kB / 0.6117 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.412, allocations: 0.9376 MB / 0.6126 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.075e-05/0.4121, allocations: 77.31 kB / 0.6127 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.4123, allocations: 120 kB / 0.6128 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000956/0.4132, allocations: 0.6356 MB / 0.6134 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4132, allocations: 0 / 0.6134 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.4133, allocations: 24 kB / 0.6134 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.4133, allocations: 16 kB / 0.6134 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008057/0.4141, allocations: 464.8 kB / 0.6139 GB, free: 10.62 MB / 462.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.004093/0.4182, allocations: 2.871 MB / 0.6167 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.4188, allocations: 314 kB / 0.617 GB, free: 7.285 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.4191, allocations: 145.3 kB / 0.6171 GB, free: 7.141 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.4194, allocations: 352.6 kB / 0.6175 GB, free: 6.723 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.4194, allocations: 34.84 kB / 0.6175 GB, free: 6.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.4194, allocations: 0 / 0.6175 GB, free: 6.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001175/0.4206, allocations: 0.5244 MB / 0.618 GB, free: 6.148 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.4206, allocations: 55.41 kB / 0.6181 GB, free: 6.082 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.4217, allocations: 0.9075 MB / 0.619 GB, free: 5.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.4218, allocations: 57.7 kB / 0.619 GB, free: 5.094 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.4222, allocations: 490.6 kB / 0.6195 GB, free: 4.609 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/0.4223, allocations: 110.4 kB / 0.6196 GB, free: 4.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003902/0.4227, allocations: 291 kB / 0.6199 GB, free: 4.211 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.4229, allocations: 330.1 kB / 0.6202 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.4233, allocations: 189.4 kB / 0.6204 GB, free: 3.695 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.4246, allocations: 1.151 MB / 0.6215 GB, free: 2.176 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007552/0.4253, allocations: 459.4 kB / 0.6219 GB, free: 1.703 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4254, allocations: 4 kB / 0.6219 GB, free: 1.699 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001214/0.4266, allocations: 0.65 MB / 0.6226 GB, free: 1.043 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.4266, allocations: 8 kB / 0.6226 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4266, allocations: 3.938 kB / 0.6226 GB, free: 1.031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.4266, allocations: 4.094 kB / 0.6226 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.428, allocations: 251.8 kB / 0.6228 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.4295, allocations: 2.949 MB / 0.6257 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/0.4324, allocations: 0.699 MB / 0.6264 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.4325, allocations: 31.92 kB / 0.6264 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000627/0.4331, allocations: 369.3 kB / 0.6268 GB, free: 12.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00122/0.4344, allocations: 1.158 MB / 0.6279 GB, free: 11.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007178/0.4351, allocations: 460.7 kB / 0.6283 GB, free: 10.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.4351, allocations: 0 / 0.6283 GB, free: 10.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001432/0.4365, allocations: 0.6588 MB / 0.629 GB, free: 9.922 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.4366, allocations: 4 kB / 0.629 GB, free: 9.918 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.4366, allocations: 4 kB / 0.629 GB, free: 9.914 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.4366, allocations: 11.98 kB / 0.629 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.4372, allocations: 151.8 kB / 0.6291 GB, free: 9.754 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4373, allocations: 11.94 kB / 0.6291 GB, free: 9.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/0.4412, allocations: 0.9653 MB / 0.6301 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.4412, allocations: 24 kB / 0.6301 GB, free: 8.754 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002883/0.4415, allocations: 245.1 kB / 0.6303 GB, free: 8.508 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.4417, allocations: 94.78 kB / 0.6304 GB, free: 8.414 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.4428, allocations: 0.5086 MB / 0.6309 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.4428, allocations: 7.984 kB / 0.6309 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4428, allocations: 0 / 0.6309 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4428, allocations: 0 / 0.6309 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.4448, allocations: 1.261 MB / 0.6322 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.4448, allocations: 0 / 0.6322 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.4453, allocations: 123.8 kB / 0.6323 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.4453, allocations: 4 kB / 0.6323 GB, free: 6.434 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.4454, allocations: 8 kB / 0.6323 GB, free: 6.426 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.447, allocations: 2.942 MB / 0.6352 GB, free: 3.367 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.447, allocations: 4.031 kB / 0.6352 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009111/0.4479, allocations: 0.5598 MB / 0.6357 GB, free: 2.777 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.4482, allocations: 215.8 kB / 0.6359 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.525e-05/0.4483, allocations: 7.938 kB / 0.6359 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.4488, allocations: 32.06 kB / 0.636 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.4489, allocations: 31.88 kB / 0.636 GB, free: 2.477 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.4489, allocations: 20 kB / 0.636 GB, free: 2.457 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007516/0.4497, allocations: 0.6084 MB / 0.6366 GB, free: 1.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4497, allocations: 0 / 0.6366 GB, free: 1.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001614/0.4513, allocations: 0.5381 MB / 0.6371 GB, free: 1.301 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007868/0.4521, allocations: 320.9 kB / 0.6374 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.4549, allocations: 0.8547 MB / 0.6383 GB, free: 136 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4549, allocations: 0 / 0.6383 GB, free: 136 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.4555, allocations: 227.8 kB / 0.6385 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.4571, allocations: 414 kB / 0.6389 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.4597, allocations: 1.51 MB / 0.6404 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.4603, allocations: 1.021 MB / 0.6414 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009012/0.4612, allocations: 217 kB / 0.6416 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.4614, allocations: 83.42 kB / 0.6416 GB, free: 12.62 MB / 494.1 MB Notification: Performance of SimCode: time 1.743e-06/0.4614, allocations: 0 / 0.6416 GB, free: 12.62 MB / 494.1 MB Notification: Performance of Templates: time 0.03753/0.4989, allocations: 24.9 MB / 0.666 GB, free: 4.164 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)