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.001184/0.001184, allocations: 110.5 kB / 17.03 MB, free: 6.121 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.001175/0.001175, allocations: 194.9 kB / 17.97 MB, free: 5.211 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7158/0.7158, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3357, allocations: 76.13 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02508/0.3609, allocations: 29.8 MB / 0.5867 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.3721, allocations: 8.132 MB / 0.5946 GB, free: 9.582 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.374, allocations: 28.41 kB / 0.5946 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.3754, allocations: 430.8 kB / 0.595 GB, free: 9.301 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004171/0.3795, allocations: 1.38 MB / 0.5964 GB, free: 8.496 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002872/0.3824, allocations: 1.143 MB / 0.5975 GB, free: 7.656 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004046/0.3865, allocations: 3.562 MB / 0.601 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.3882, allocations: 1.327 MB / 0.6023 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.391, allocations: 1.683 MB / 0.6039 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003059/0.3941, allocations: 1.616 MB / 0.6055 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006092/0.3947, allocations: 125.7 kB / 0.6056 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.3971, allocations: 1.02 MB / 0.6066 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004507/0.3976, allocations: 414.7 kB / 0.607 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.3987, allocations: 0.7467 MB / 0.6077 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002898/0.4016, allocations: 2.212 MB / 0.6099 GB, free: 14.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4016, allocations: 0 / 0.6099 GB, free: 14.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4016, allocations: 0 / 0.6099 GB, free: 14.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.998e-05/0.4017, allocations: 0 / 0.6099 GB, free: 14.86 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.003096/0.4048, allocations: 1.667 MB / 0.6115 GB, free: 13.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.4048, allocations: 8.031 kB / 0.6115 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003662/0.4052, allocations: 147.4 kB / 0.6117 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.4073, allocations: 0.9337 MB / 0.6126 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.881e-05/0.4074, allocations: 81.31 kB / 0.6127 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.4076, allocations: 116 kB / 0.6128 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.4087, allocations: 0.6395 MB / 0.6134 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4087, allocations: 0 / 0.6134 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/0.4087, allocations: 20 kB / 0.6134 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.4088, allocations: 16 kB / 0.6134 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009579/0.4097, allocations: 468.8 kB / 0.6139 GB, free: 10.64 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.00451/0.4143, allocations: 2.879 MB / 0.6167 GB, free: 7.613 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.4149, allocations: 305.9 kB / 0.617 GB, free: 7.309 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.4152, allocations: 149.3 kB / 0.6171 GB, free: 7.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.4156, allocations: 352.7 kB / 0.6175 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.4156, allocations: 34.84 kB / 0.6175 GB, free: 6.699 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.315e-06/0.4156, allocations: 0 / 0.6175 GB, free: 6.699 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001335/0.417, allocations: 0.5244 MB / 0.618 GB, free: 6.168 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.417, allocations: 51.41 kB / 0.6181 GB, free: 6.105 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.418, allocations: 0.9114 MB / 0.619 GB, free: 5.176 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.4182, allocations: 57.7 kB / 0.619 GB, free: 5.113 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.4186, allocations: 486.6 kB / 0.6195 GB, free: 4.633 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.108e-05/0.4187, allocations: 114.4 kB / 0.6196 GB, free: 4.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/0.4191, allocations: 291 kB / 0.6199 GB, free: 4.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4192, allocations: 330.1 kB / 0.6202 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.4196, allocations: 197.3 kB / 0.6204 GB, free: 3.707 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.4209, allocations: 1.155 MB / 0.6215 GB, free: 2.184 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/0.4217, allocations: 451.4 kB / 0.6219 GB, free: 1.719 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4217, allocations: 7.938 kB / 0.6219 GB, free: 1.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001294/0.423, allocations: 0.65 MB / 0.6226 GB, free: 1.055 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4231, allocations: 11.98 kB / 0.6226 GB, free: 1.043 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4231, allocations: 7.875 kB / 0.6226 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4231, allocations: 8 kB / 0.6226 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.4245, allocations: 227.9 kB / 0.6228 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.4261, allocations: 2.958 MB / 0.6257 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/0.4294, allocations: 0.6949 MB / 0.6264 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/0.4295, allocations: 27.98 kB / 0.6264 GB, free: 13 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006968/0.4302, allocations: 365.3 kB / 0.6267 GB, free: 12.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001244/0.4315, allocations: 1.162 MB / 0.6279 GB, free: 11.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007463/0.4322, allocations: 464.8 kB / 0.6283 GB, free: 10.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.534e-06/0.4323, allocations: 0 / 0.6283 GB, free: 10.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001447/0.4337, allocations: 0.6587 MB / 0.629 GB, free: 9.941 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4337, allocations: 8 kB / 0.629 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.4337, allocations: 0 / 0.629 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.4338, allocations: 8 kB / 0.629 GB, free: 9.926 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/0.4344, allocations: 155.8 kB / 0.6291 GB, free: 9.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.4345, allocations: 11.92 kB / 0.6291 GB, free: 9.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004188/0.4387, allocations: 0.9615 MB / 0.6301 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.4387, allocations: 27.98 kB / 0.6301 GB, free: 8.773 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.0002834/0.439, allocations: 241.1 kB / 0.6303 GB, free: 8.531 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.4392, allocations: 94.78 kB / 0.6304 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.4404, allocations: 0.5125 MB / 0.6309 GB, free: 7.914 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.4404, allocations: 4 kB / 0.6309 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4404, allocations: 0 / 0.6309 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4404, allocations: 0 / 0.6309 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.4424, allocations: 1.265 MB / 0.6322 GB, free: 6.578 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4424, allocations: 4 kB / 0.6322 GB, free: 6.574 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.443, allocations: 123.8 kB / 0.6323 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.443, allocations: 0 / 0.6323 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.443, allocations: 12 kB / 0.6323 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.4443, allocations: 2.938 MB / 0.6352 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4443, allocations: 4.031 kB / 0.6352 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/0.4452, allocations: 0.5676 MB / 0.6357 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.4455, allocations: 207.8 kB / 0.6359 GB, free: 2.566 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.4456, allocations: 11.94 kB / 0.6359 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.446, allocations: 27.97 kB / 0.636 GB, free: 2.527 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.4461, allocations: 35.89 kB / 0.636 GB, free: 2.492 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.4462, allocations: 12 kB / 0.636 GB, free: 2.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007012/0.4469, allocations: 0.6084 MB / 0.6366 GB, free: 1.863 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4469, allocations: 0 / 0.6366 GB, free: 1.863 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001329/0.4482, allocations: 0.542 MB / 0.6371 GB, free: 1.32 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.0006524/0.4489, allocations: 320.6 kB / 0.6374 GB, free: 1.012 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.4513, allocations: 0.8541 MB / 0.6383 GB, free: 156 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4513, allocations: 0 / 0.6383 GB, free: 156 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.4519, allocations: 231.8 kB / 0.6385 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.4535, allocations: 411.7 kB / 0.6389 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.4561, allocations: 1.503 MB / 0.6404 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.4567, allocations: 1.029 MB / 0.6414 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007771/0.4575, allocations: 216.4 kB / 0.6416 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.4577, allocations: 79.41 kB / 0.6416 GB, free: 12.64 MB / 494.1 MB Notification: Performance of SimCode: time 1.683e-06/0.4577, allocations: 0 / 0.6416 GB, free: 12.64 MB / 494.1 MB Notification: Performance of Templates: time 0.03791/0.4956, allocations: 24.9 MB / 0.666 GB, free: 4.18 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)