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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007629/0.000763, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.0008067/0.0008067, allocations: 181.9 kB / 16.28 MB, free: 6.656 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.272/1.272, allocations: 223.2 MB / 240.3 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7346/0.7346, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002852, allocations: 8 kB / 0.5041 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3437, allocations: 81.57 MB / 0.5838 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02668/0.3704, allocations: 28.93 MB / 0.612 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.3813, allocations: 8.128 MB / 0.6199 GB, free: 8.066 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009329/0.3822, allocations: 28.66 kB / 0.62 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009243/0.3832, allocations: 346.4 kB / 0.6203 GB, free: 7.766 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.386, allocations: 1.23 MB / 0.6215 GB, free: 6.793 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.3883, allocations: 1.039 MB / 0.6225 GB, free: 6.059 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004105/0.3924, allocations: 4.203 MB / 0.6266 GB, free: 3.809 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.3938, allocations: 1.163 MB / 0.6278 GB, free: 3.062 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.396, allocations: 1.493 MB / 0.6292 GB, free: 1.812 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.3981, allocations: 1.601 MB / 0.6308 GB, free: 212 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.3984, allocations: 64 kB / 0.6308 GB, free: 148 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.4, allocations: 0.9319 MB / 0.6318 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003757/0.4004, allocations: 342.6 kB / 0.6321 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007275/0.4012, allocations: 0.7015 MB / 0.6328 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.4032, allocations: 2.107 MB / 0.6348 GB, free: 12.05 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4032, allocations: 0 / 0.6348 GB, free: 12.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4032, allocations: 0 / 0.6348 GB, free: 12.05 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.4033, allocations: 0 / 0.6348 GB, free: 12.05 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.00211/0.4054, allocations: 1.332 MB / 0.6361 GB, free: 10.67 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4054, allocations: 8.031 kB / 0.6361 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.4055, allocations: 98.7 kB / 0.6362 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.4058, allocations: 162.6 kB / 0.6364 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.4072, allocations: 0.8871 MB / 0.6372 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.4073, allocations: 85.25 kB / 0.6373 GB, free: 9.367 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.4075, allocations: 120 kB / 0.6374 GB, free: 9.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.4085, allocations: 0.6357 MB / 0.6381 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.4086, allocations: 3.938 kB / 0.6381 GB, free: 8.582 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.4086, allocations: 35.88 kB / 0.6381 GB, free: 8.547 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.4087, allocations: 12 kB / 0.6381 GB, free: 8.535 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008803/0.4095, allocations: 480.9 kB / 0.6386 GB, free: 8.062 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.004001/0.4135, allocations: 2.871 MB / 0.6414 GB, free: 5.035 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.4141, allocations: 319.2 kB / 0.6417 GB, free: 4.715 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.4145, allocations: 161.3 kB / 0.6418 GB, free: 4.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.4148, allocations: 344.7 kB / 0.6422 GB, free: 4.145 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.4148, allocations: 34.84 kB / 0.6422 GB, free: 4.102 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 1.502e-06/0.4148, allocations: 0 / 0.6422 GB, free: 4.102 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.00121/0.416, allocations: 0.5497 MB / 0.6427 GB, free: 3.547 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.4161, allocations: 59.41 kB / 0.6428 GB, free: 3.477 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009756/0.417, allocations: 0.9075 MB / 0.6437 GB, free: 2.551 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.4172, allocations: 53.7 kB / 0.6437 GB, free: 2.492 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.4176, allocations: 0.538 MB / 0.6443 GB, free: 1.945 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.405e-05/0.4177, allocations: 114.3 kB / 0.6444 GB, free: 1.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.4178, allocations: 61.67 kB / 0.6444 GB, free: 1.766 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4179, allocations: 330 kB / 0.6447 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.4183, allocations: 189.2 kB / 0.6449 GB, free: 1.254 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.4196, allocations: 1.163 MB / 0.6461 GB, free: 15.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008074/0.4204, allocations: 463.4 kB / 0.6465 GB, free: 15.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4204, allocations: 0 / 0.6465 GB, free: 15.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001243/0.4217, allocations: 0.6618 MB / 0.6471 GB, free: 14.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.8e-05/0.4218, allocations: 152.3 kB / 0.6473 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4218, allocations: 4 kB / 0.6473 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4218, allocations: 7.938 kB / 0.6473 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.4233, allocations: 239.6 kB / 0.6475 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.4247, allocations: 2.965 MB / 0.6504 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00334/0.4281, allocations: 0.7495 MB / 0.6512 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.4282, allocations: 24 kB / 0.6512 GB, free: 10.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.4282, allocations: 7.938 kB / 0.6512 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009565/0.4292, allocations: 0.5011 MB / 0.6517 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.4292, allocations: 0 / 0.6517 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.4292, allocations: 12.17 kB / 0.6517 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/0.4299, allocations: 159.8 kB / 0.6518 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4299, allocations: 4 kB / 0.6518 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/0.433, allocations: 0.7339 MB / 0.6526 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.4331, allocations: 23.98 kB / 0.6526 GB, free: 8.863 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.0004234/0.4335, allocations: 341.8 kB / 0.6529 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.4336, allocations: 94.69 kB / 0.653 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.4347, allocations: 0.5246 MB / 0.6535 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.4347, allocations: 11.98 kB / 0.6535 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4347, allocations: 0 / 0.6535 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.4347, allocations: 3.984 kB / 0.6535 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.4366, allocations: 1.264 MB / 0.6548 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4366, allocations: 3.984 kB / 0.6548 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/0.4371, allocations: 111.9 kB / 0.6549 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4371, allocations: 4 kB / 0.6549 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.4372, allocations: 19.98 kB / 0.6549 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.4384, allocations: 2.946 MB / 0.6578 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4384, allocations: 3.938 kB / 0.6578 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008214/0.4392, allocations: 0.5785 MB / 0.6583 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.4395, allocations: 223.7 kB / 0.6585 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.371e-05/0.4396, allocations: 12 kB / 0.6586 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.4401, allocations: 67.72 kB / 0.6586 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.4402, allocations: 31.91 kB / 0.6587 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.4402, allocations: 11.98 kB / 0.6587 GB, free: 2.379 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006791/0.4409, allocations: 0.6123 MB / 0.6593 GB, free: 1.758 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4409, allocations: 0 / 0.6593 GB, free: 1.758 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001286/0.4422, allocations: 0.5345 MB / 0.6598 GB, free: 1.223 MB / 494.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.001553/0.4438, allocations: 1.342 MB / 0.6611 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002347/0.4461, allocations: 0.8547 MB / 0.6619 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4462, allocations: 0 / 0.6619 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.4467, allocations: 236.2 kB / 0.6622 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/0.4493, allocations: 491.7 kB / 0.6626 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009236/0.4585, allocations: 7.275 MB / 0.6697 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.4591, allocations: 1.033 MB / 0.6707 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008493/0.4599, allocations: 215 kB / 0.6709 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000419/0.4604, allocations: 363.3 kB / 0.6713 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.4604, allocations: 0 / 0.6713 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1921/0.6524, allocations: 32.49 MB / 0.703 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/0.6528, allocations: 272.4 kB / 0.7033 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.407, allocations: 0 / 0.7033 GB, free: 4.828 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)