Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001467/0.001467, allocations: 104.1 kB / 15.98 MB, free: 5.891 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.001603/0.001603, allocations: 187.5 kB / 16.9 MB, free: 5.746 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.599/1.599, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8396/0.8396, allocations: 135.1 MB / 425.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 59.91 kB / 0.5055 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.403, allocations: 80.91 MB / 0.5845 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01476/0.4178, allocations: 19.32 MB / 0.6034 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005922/0.4238, allocations: 5.12 MB / 0.6084 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009245/0.4248, allocations: 16.38 kB / 0.6084 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007743/0.4256, allocations: 223.2 kB / 0.6086 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.4274, allocations: 0.7151 MB / 0.6093 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.4292, allocations: 0.8042 MB / 0.6101 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.431, allocations: 1.546 MB / 0.6116 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006923/0.4317, allocations: 0.4962 MB / 0.6121 GB, free: 14.51 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.4328, allocations: 0.642 MB / 0.6127 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006781/0.4335, allocations: 0.5368 MB / 0.6132 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.487e-05/0.4336, allocations: 56 kB / 0.6133 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.4349, allocations: 0.6979 MB / 0.614 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.4351, allocations: 171.3 kB / 0.6141 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.4354, allocations: 382 kB / 0.6145 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.4365, allocations: 0.7834 MB / 0.6153 GB, free: 11.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4365, allocations: 4 kB / 0.6153 GB, free: 11.24 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4365, allocations: 0 / 0.6153 GB, free: 11.24 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.4365, allocations: 0 / 0.6153 GB, free: 11.24 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001946/0.4384, allocations: 1.098 MB / 0.6163 GB, free: 10.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4385, allocations: 13.11 kB / 0.6164 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.4387, allocations: 80 kB / 0.6164 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007013/0.4394, allocations: 0.5141 MB / 0.6169 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.4394, allocations: 33 kB / 0.617 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/0.4395, allocations: 52 kB / 0.617 GB, free: 9.363 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.4406, allocations: 0.6225 MB / 0.6176 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.4406, allocations: 3.938 kB / 0.6176 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.4406, allocations: 20 kB / 0.6176 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.4407, allocations: 12 kB / 0.6177 GB, free: 8.641 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.4417, allocations: 495.4 kB / 0.6181 GB, free: 8.156 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.003575/0.4453, allocations: 3.2 MB / 0.6213 GB, free: 4.762 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.446, allocations: 346.7 kB / 0.6216 GB, free: 4.414 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.4465, allocations: 226.7 kB / 0.6218 GB, free: 4.191 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003908/0.4469, allocations: 348.4 kB / 0.6221 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.4469, allocations: 38.56 kB / 0.6222 GB, free: 3.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.034e-06/0.4469, allocations: 0 / 0.6222 GB, free: 3.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002144/0.4491, allocations: 0.8037 MB / 0.623 GB, free: 2.898 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.4491, allocations: 55.41 kB / 0.623 GB, free: 2.832 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.4498, allocations: 0.59 MB / 0.6236 GB, free: 2.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.4499, allocations: 33.7 kB / 0.6236 GB, free: 2.191 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.4502, allocations: 332.4 kB / 0.6239 GB, free: 1.863 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.4503, allocations: 130.1 kB / 0.6241 GB, free: 1.734 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.4505, allocations: 134.1 kB / 0.6242 GB, free: 1.598 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4507, allocations: 374.7 kB / 0.6245 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/0.4511, allocations: 219.4 kB / 0.6248 GB, free: 1.004 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.4517, allocations: 372 kB / 0.6251 GB, free: 0.582 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.4528, allocations: 0.5705 MB / 0.6257 GB, free: 15.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4528, allocations: 0 / 0.6257 GB, free: 15.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001492/0.4543, allocations: 0.7226 MB / 0.6264 GB, free: 15.22 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4543, allocations: 4 kB / 0.6264 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4544, allocations: 4 kB / 0.6264 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/0.455, allocations: 136.7 kB / 0.6265 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.4555, allocations: 140 kB / 0.6266 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006079/0.4562, allocations: 0.6147 MB / 0.6272 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.4568, allocations: 95.39 kB / 0.6273 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/0.4569, allocations: 31.98 kB / 0.6274 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006682/0.4576, allocations: 349.3 kB / 0.6277 GB, free: 13.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005804/0.4582, allocations: 364 kB / 0.628 GB, free: 13.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001029/0.4592, allocations: 0.5628 MB / 0.6286 GB, free: 12.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.736e-06/0.4592, allocations: 3.938 kB / 0.6286 GB, free: 12.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001381/0.4606, allocations: 0.6788 MB / 0.6293 GB, free: 12.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4606, allocations: 10.19 kB / 0.6293 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4606, allocations: 4 kB / 0.6293 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4606, allocations: 11.98 kB / 0.6293 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.4613, allocations: 151.8 kB / 0.6294 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.4613, allocations: 15.88 kB / 0.6294 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006353/0.4619, allocations: 83.62 kB / 0.6295 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.462, allocations: 31.98 kB / 0.6296 GB, free: 11.8 MB / 478.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.0002133/0.4622, allocations: 213 kB / 0.6298 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.4623, allocations: 67.16 kB / 0.6298 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.4638, allocations: 0.6457 MB / 0.6305 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.4639, allocations: 7.938 kB / 0.6305 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.4639, allocations: 4 kB / 0.6305 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4639, allocations: 3.984 kB / 0.6305 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.4664, allocations: 1.359 MB / 0.6318 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.4664, allocations: 4 kB / 0.6318 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.4668, allocations: 79.88 kB / 0.6319 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003424/0.4671, allocations: 108.8 kB / 0.632 GB, free: 9.219 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.4672, allocations: 15.98 kB / 0.632 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006187/0.4678, allocations: 0.6265 MB / 0.6326 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4678, allocations: 4.031 kB / 0.6326 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.4691, allocations: 0.6967 MB / 0.6333 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.4694, allocations: 200 kB / 0.6335 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.731e-05/0.4695, allocations: 7.984 kB / 0.6335 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.47, allocations: 47.95 kB / 0.6335 GB, free: 7.555 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4701, allocations: 31.95 kB / 0.6336 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.4701, allocations: 20.06 kB / 0.6336 GB, free: 7.504 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004671/0.4706, allocations: 403.1 kB / 0.634 GB, free: 7.117 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4706, allocations: 0 / 0.634 GB, free: 7.117 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001124/0.4718, allocations: 387.4 kB / 0.6343 GB, free: 6.738 MB / 478.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.0006956/0.4725, allocations: 306.3 kB / 0.6346 GB, free: 6.434 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.4745, allocations: 0.8929 MB / 0.6355 GB, free: 5.539 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4745, allocations: 4 kB / 0.6355 GB, free: 5.535 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006844/0.4752, allocations: 285.3 kB / 0.6358 GB, free: 5.258 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.4764, allocations: 235.1 kB / 0.636 GB, free: 5.043 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.4785, allocations: 1.337 MB / 0.6373 GB, free: 3.664 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.479, allocations: 0.9077 MB / 0.6382 GB, free: 2.727 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.4792, allocations: 67.41 kB / 0.6383 GB, free: 2.66 MB / 478.1 MB Notification: Performance of SimCode: time 2.034e-06/0.4792, allocations: 0 / 0.6383 GB, free: 2.66 MB / 478.1 MB Notification: Performance of Templates: time 0.01912/0.4983, allocations: 12.88 MB / 0.6508 GB, free: 5.887 MB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)