Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001283/0.001283, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001127/0.001127, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8257/0.8257, allocations: 132.2 MB / 423.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 59.91 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3527, allocations: 80.19 MB / 0.5807 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02387/0.3766, allocations: 29.83 MB / 0.6099 GB, free: 360 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.3894, allocations: 8.13 MB / 0.6178 GB, free: 8.234 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.3912, allocations: 27.81 kB / 0.6178 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.3925, allocations: 436.9 kB / 0.6183 GB, free: 7.777 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004392/0.397, allocations: 1.377 MB / 0.6196 GB, free: 6.398 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.4003, allocations: 1.124 MB / 0.6207 GB, free: 5.285 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004567/0.4049, allocations: 3.542 MB / 0.6242 GB, free: 1.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.4069, allocations: 1.329 MB / 0.6255 GB, free: 404 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003115/0.4101, allocations: 1.667 MB / 0.6271 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003183/0.4133, allocations: 1.636 MB / 0.6287 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004933/0.4138, allocations: 128 kB / 0.6288 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.4163, allocations: 1.014 MB / 0.6298 GB, free: 11.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004966/0.4168, allocations: 414.7 kB / 0.6302 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.4179, allocations: 0.7545 MB / 0.6309 GB, free: 10.78 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002744/0.4207, allocations: 2.189 MB / 0.6331 GB, free: 8.582 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4207, allocations: 0 / 0.6331 GB, free: 8.582 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4207, allocations: 0 / 0.6331 GB, free: 8.582 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.4207, allocations: 0 / 0.6331 GB, free: 8.582 MB / 478.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.002873/0.4236, allocations: 1.663 MB / 0.6347 GB, free: 6.863 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4237, allocations: 16.03 kB / 0.6347 GB, free: 6.848 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.4241, allocations: 150.8 kB / 0.6348 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.4257, allocations: 0.8947 MB / 0.6357 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.4258, allocations: 85.3 kB / 0.6358 GB, free: 5.664 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.426, allocations: 116 kB / 0.6359 GB, free: 5.551 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.4271, allocations: 0.6356 MB / 0.6365 GB, free: 4.887 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.4271, allocations: 0 / 0.6365 GB, free: 4.887 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.4272, allocations: 24 kB / 0.6366 GB, free: 4.863 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.4272, allocations: 19.88 kB / 0.6366 GB, free: 4.844 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009141/0.4281, allocations: 464.8 kB / 0.637 GB, free: 4.391 MB / 478.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.004773/0.4329, allocations: 2.887 MB / 0.6398 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.4336, allocations: 309.6 kB / 0.6401 GB, free: 1.039 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.4339, allocations: 149.3 kB / 0.6403 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003276/0.4342, allocations: 348.7 kB / 0.6406 GB, free: 488 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.4343, allocations: 30.84 kB / 0.6406 GB, free: 448 kB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/0.4343, allocations: 0 / 0.6406 GB, free: 448 kB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001464/0.4358, allocations: 0.5291 MB / 0.6412 GB, free: 15.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.4358, allocations: 59.41 kB / 0.6412 GB, free: 15.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.4369, allocations: 0.9114 MB / 0.6421 GB, free: 14.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002108/0.4371, allocations: 57.7 kB / 0.6422 GB, free: 14.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/0.4376, allocations: 0.5302 MB / 0.6427 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.4378, allocations: 118.3 kB / 0.6428 GB, free: 14.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004039/0.4382, allocations: 291 kB / 0.6431 GB, free: 13.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4383, allocations: 329.9 kB / 0.6434 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.4388, allocations: 197.4 kB / 0.6436 GB, free: 13.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.4402, allocations: 1.151 MB / 0.6447 GB, free: 11.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008424/0.441, allocations: 459.4 kB / 0.6451 GB, free: 11.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4411, allocations: 0 / 0.6451 GB, free: 11.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00139/0.4425, allocations: 0.6578 MB / 0.6458 GB, free: 10.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4425, allocations: 4 kB / 0.6458 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4425, allocations: 4 kB / 0.6458 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.4425, allocations: 8.188 kB / 0.6458 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.444, allocations: 223.7 kB / 0.646 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.4456, allocations: 2.961 MB / 0.6489 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/0.4492, allocations: 0.6949 MB / 0.6496 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.4494, allocations: 27.98 kB / 0.6496 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008826/0.4503, allocations: 373.3 kB / 0.65 GB, free: 6.316 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001379/0.4517, allocations: 1.154 MB / 0.6511 GB, free: 4.785 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007911/0.4525, allocations: 456.9 kB / 0.6515 GB, free: 4.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.644e-06/0.4525, allocations: 0 / 0.6515 GB, free: 4.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001558/0.454, allocations: 0.6548 MB / 0.6522 GB, free: 3.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4541, allocations: 6.656 kB / 0.6522 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4541, allocations: 4 kB / 0.6522 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.4541, allocations: 4.188 kB / 0.6522 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.4548, allocations: 164 kB / 0.6523 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.4548, allocations: 19.92 kB / 0.6523 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004389/0.4592, allocations: 0.9613 MB / 0.6533 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.709e-05/0.4593, allocations: 23.98 kB / 0.6533 GB, free: 2.457 MB / 494.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.0003478/0.4597, allocations: 245.7 kB / 0.6535 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.46, allocations: 94.78 kB / 0.6536 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.4612, allocations: 0.505 MB / 0.6541 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.4613, allocations: 4 kB / 0.6541 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4613, allocations: 4 kB / 0.6541 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.4613, allocations: 3.984 kB / 0.6541 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.4633, allocations: 1.26 MB / 0.6554 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4633, allocations: 128 / 0.6554 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.4639, allocations: 115.8 kB / 0.6555 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.4639, allocations: 7.938 kB / 0.6555 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.464, allocations: 8 kB / 0.6555 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.4654, allocations: 2.942 MB / 0.6584 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4654, allocations: 384 / 0.6584 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009927/0.4664, allocations: 0.5732 MB / 0.6589 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.4668, allocations: 211.7 kB / 0.6591 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.4669, allocations: 15.94 kB / 0.6591 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.4674, allocations: 27.95 kB / 0.6592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.4674, allocations: 31.97 kB / 0.6592 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.4675, allocations: 8 kB / 0.6592 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007754/0.4683, allocations: 0.6123 MB / 0.6598 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4683, allocations: 4 kB / 0.6598 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001632/0.4699, allocations: 0.5422 MB / 0.6603 GB, free: 10.99 MB / 0.4981 GB 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.0007996/0.4707, allocations: 325.9 kB / 0.6607 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002842/0.4736, allocations: 0.8506 MB / 0.6615 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.4736, allocations: 0.625 kB / 0.6615 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006018/0.4742, allocations: 236.9 kB / 0.6617 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.4762, allocations: 406.2 kB / 0.6621 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.4789, allocations: 1.587 MB / 0.6636 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.4795, allocations: 1.025 MB / 0.6646 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.4797, allocations: 83.41 kB / 0.6647 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.4797, allocations: 0 / 0.6647 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of Templates: time 0.04472/0.5245, allocations: 36.1 MB / 0.7 GB, free: 2.594 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)