Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IDEAS_dev_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.001083/0.001083, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001428/0.001428, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.3 MB / 426.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 12 kB / 0.5071 GB, free: 5.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1835, allocations: 82.32 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3461/0.5296, allocations: 27.38 MB / 0.6142 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.5404, allocations: 7.669 MB / 0.6217 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.5419, allocations: 27.41 kB / 0.6217 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.5431, allocations: 306.8 kB / 0.622 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.5464, allocations: 1.078 MB / 0.6231 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.549, allocations: 0.9642 MB / 0.624 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003693/0.5527, allocations: 3.531 MB / 0.6275 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.5543, allocations: 1.083 MB / 0.6285 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.557, allocations: 1.467 MB / 0.63 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.5598, allocations: 1.551 MB / 0.6315 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004768/0.5603, allocations: 65.28 kB / 0.6315 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.5628, allocations: 0.8573 MB / 0.6324 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000489/0.5633, allocations: 338.1 kB / 0.6327 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005435/0.5638, allocations: 245.5 kB / 0.6329 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001965/0.5658, allocations: 1.549 MB / 0.6344 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.5658, allocations: 0 / 0.6344 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5659, allocations: 0 / 0.6344 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.552e-05/0.5659, allocations: 0 / 0.6344 GB, free: 30.44 MB / 0.4981 GB 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.002199/0.5681, allocations: 1.346 MB / 0.6358 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5681, allocations: 6.094 kB / 0.6358 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.5683, allocations: 106.1 kB / 0.6359 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.5686, allocations: 145.7 kB / 0.636 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.57, allocations: 0.8598 MB / 0.6368 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/0.5701, allocations: 80.22 kB / 0.6369 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.5703, allocations: 117.2 kB / 0.637 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.5713, allocations: 0.6394 MB / 0.6377 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.5714, allocations: 3.219 kB / 0.6377 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.5714, allocations: 19.22 kB / 0.6377 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.5714, allocations: 20.59 kB / 0.6377 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007988/0.5722, allocations: 471.8 kB / 0.6381 GB, free: 28.42 MB / 0.4981 GB 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.004077/0.5763, allocations: 2.882 MB / 0.641 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005316/0.5769, allocations: 311.2 kB / 0.6413 GB, free: 26.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.5772, allocations: 156.6 kB / 0.6414 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.5774, allocations: 341.8 kB / 0.6417 GB, free: 26.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.5775, allocations: 37.78 kB / 0.6418 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.255e-06/0.5775, allocations: 0 / 0.6418 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001256/0.5787, allocations: 0.5392 MB / 0.6423 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5788, allocations: 61.28 kB / 0.6424 GB, free: 25.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009935/0.5798, allocations: 0.8943 MB / 0.6432 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.5799, allocations: 60.17 kB / 0.6433 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/0.5804, allocations: 0.5303 MB / 0.6438 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5805, allocations: 114.1 kB / 0.6439 GB, free: 24.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.5806, allocations: 12 kB / 0.6439 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5807, allocations: 330.9 kB / 0.6442 GB, free: 24.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.5811, allocations: 182.3 kB / 0.6444 GB, free: 24.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.5826, allocations: 1.14 MB / 0.6455 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.5832, allocations: 307.5 kB / 0.6458 GB, free: 23.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5832, allocations: 0 / 0.6458 GB, free: 23.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001213/0.5844, allocations: 0.6447 MB / 0.6464 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-05/0.5845, allocations: 147.4 kB / 0.6466 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5845, allocations: 0.875 kB / 0.6466 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.5845, allocations: 10.12 kB / 0.6466 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.5859, allocations: 244.2 kB / 0.6468 GB, free: 22.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.5871, allocations: 2.956 MB / 0.6497 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003745/0.5909, allocations: 0.7441 MB / 0.6504 GB, free: 19.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.591, allocations: 27.19 kB / 0.6505 GB, free: 19.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.591, allocations: 3.25 kB / 0.6505 GB, free: 19.7 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00112/0.5922, allocations: 0.5015 MB / 0.651 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.5922, allocations: 3.469 kB / 0.651 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5922, allocations: 8.766 kB / 0.651 GB, free: 19.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/0.5929, allocations: 162.4 kB / 0.6511 GB, free: 19.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5929, allocations: 5.875 kB / 0.6511 GB, free: 19.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/0.5964, allocations: 0.7376 MB / 0.6519 GB, free: 19.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.5964, allocations: 26.19 kB / 0.6519 GB, free: 19.4 MB / 0.4981 GB 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 (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008466/0.5973, allocations: 331.7 kB / 0.6522 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.5975, allocations: 95.09 kB / 0.6523 GB, free: 19.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.5989, allocations: 0.5272 MB / 0.6528 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.5989, allocations: 5.719 kB / 0.6528 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5989, allocations: 4 kB / 0.6528 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.5989, allocations: 1.922 kB / 0.6528 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.6014, allocations: 1.263 MB / 0.654 GB, free: 18.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.6014, allocations: 5.562 kB / 0.6541 GB, free: 18.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.6019, allocations: 117.9 kB / 0.6542 GB, free: 18.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.602, allocations: 2.625 kB / 0.6542 GB, free: 18.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.602, allocations: 10.75 kB / 0.6542 GB, free: 18.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009563/0.603, allocations: 2.951 MB / 0.6571 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.603, allocations: 1.5 kB / 0.6571 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009236/0.6039, allocations: 0.5758 MB / 0.6576 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/0.6043, allocations: 228.7 kB / 0.6578 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.6044, allocations: 11.64 kB / 0.6579 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.6049, allocations: 63.53 kB / 0.6579 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.605, allocations: 26.7 kB / 0.6579 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.605, allocations: 17.16 kB / 0.658 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00091/0.6059, allocations: 0.6049 MB / 0.6585 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6059, allocations: 0 / 0.6585 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001888/0.6078, allocations: 0.535 MB / 0.6591 GB, free: 14.31 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 (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001794/0.6096, allocations: 1.333 MB / 0.6604 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002837/0.6125, allocations: 0.8479 MB / 0.6612 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6125, allocations: 1.125 kB / 0.6612 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.6131, allocations: 233.6 kB / 0.6614 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/0.6158, allocations: 481.2 kB / 0.6619 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008936/0.6248, allocations: 5.076 MB / 0.6668 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.6254, allocations: 1.021 MB / 0.6678 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001358/0.6267, allocations: 213.9 kB / 0.668 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/0.6272, allocations: 372 kB / 0.6684 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.6272, allocations: 0 / 0.6684 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06625/0.6935, allocations: 32.25 MB / 0.6999 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.6937, allocations: 254.8 kB / 0.7001 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.527, allocations: 4 kB / 0.7001 GB, free: 8.312 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: