Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",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.005158/0.005158, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001266/0.001266, allocations: 195 kB / 16.68 MB, free: 5.969 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7925/0.7925, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 62.97 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1454, allocations: 80.22 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4456/0.591, allocations: 112.6 MB / 0.7692 GB, free: 24.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02647/0.6175, allocations: 20.21 MB / 0.7889 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004957/0.6225, allocations: 110.2 kB / 0.789 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003946/0.6265, allocations: 1.282 MB / 0.7903 GB, free: 22.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.6374, allocations: 3.676 MB / 0.7939 GB, free: 20.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007373/0.6448, allocations: 3.114 MB / 0.7969 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008986/0.6538, allocations: 7.202 MB / 0.804 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003866/0.6577, allocations: 2.584 MB / 0.8065 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006226/0.664, allocations: 2.811 MB / 0.8092 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00373/0.6677, allocations: 2.131 MB / 0.8113 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008789/0.6686, allocations: 254.7 kB / 0.8115 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004851/0.6735, allocations: 1.648 MB / 0.8132 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.6745, allocations: 0.6909 MB / 0.8138 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003038/0.6776, allocations: 1.508 MB / 0.8153 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007911/0.6855, allocations: 4.416 MB / 0.8196 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6855, allocations: 0 / 0.8196 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.536e-06/0.6856, allocations: 0 / 0.8196 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001642/0.6857, allocations: 3.938 kB / 0.8196 GB, free: 6.645 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.005783/0.6915, allocations: 3.332 MB / 0.8229 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.6916, allocations: 9.438 kB / 0.8229 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001969/0.6918, allocations: 222.8 kB / 0.8231 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007352/0.6925, allocations: 337.3 kB / 0.8234 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/0.6954, allocations: 2.217 MB / 0.8256 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/0.6955, allocations: 126 kB / 0.8257 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.6957, allocations: 172 kB / 0.8259 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.6977, allocations: 1.612 MB / 0.8274 GB, free: 140 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.6978, allocations: 7.984 kB / 0.8274 GB, free: 132 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.6979, allocations: 63.94 kB / 0.8275 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.6979, allocations: 40 kB / 0.8275 GB, free: 28 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.6999, allocations: 1.147 MB / 0.8287 GB, free: 14.88 MB / 0.5919 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.01093/0.7109, allocations: 7.936 MB / 0.8364 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008274/0.7117, allocations: 466 kB / 0.8369 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.7123, allocations: 326.9 kB / 0.8372 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000711/0.713, allocations: 0.7574 MB / 0.8379 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.713, allocations: 43.06 kB / 0.838 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.685e-06/0.7131, allocations: 0 / 0.838 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002132/0.7152, allocations: 1.001 MB / 0.8389 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.7153, allocations: 55.97 kB / 0.839 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003643/0.7189, allocations: 2.343 MB / 0.8413 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.719, allocations: 41.7 kB / 0.8413 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.7201, allocations: 1.169 MB / 0.8425 GB, free: 100 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.7204, allocations: 217.2 kB / 0.8427 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004194/0.7208, allocations: 262.7 kB / 0.8429 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.721, allocations: 353.7 kB / 0.8432 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006963/0.7217, allocations: 361.8 kB / 0.8436 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.7227, allocations: 0.7579 MB / 0.8443 GB, free: 14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.7243, allocations: 0.9901 MB / 0.8453 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.7243, allocations: 0 / 0.8453 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002543/0.7269, allocations: 1.293 MB / 0.8466 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.7269, allocations: 11.98 kB / 0.8466 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.7269, allocations: 8.062 kB / 0.8466 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.727, allocations: 20 kB / 0.8466 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.728, allocations: 247.6 kB / 0.8468 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.147e-05/0.728, allocations: 19.94 kB / 0.8469 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.7296, allocations: 174.8 kB / 0.847 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.7298, allocations: 51.98 kB / 0.8471 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001435/0.7312, allocations: 0.7641 MB / 0.8478 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001033/0.7322, allocations: 0.7385 MB / 0.8485 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001484/0.7337, allocations: 0.955 MB / 0.8495 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.037e-05/0.7338, allocations: 4 kB / 0.8495 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002462/0.7362, allocations: 1.268 MB / 0.8507 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.7363, allocations: 12 kB / 0.8507 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.7363, allocations: 8 kB / 0.8507 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.7363, allocations: 12.05 kB / 0.8507 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009089/0.7372, allocations: 251.6 kB / 0.851 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.576e-05/0.7372, allocations: 19.94 kB / 0.851 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.739, allocations: 127.5 kB / 0.8511 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.904e-05/0.7391, allocations: 51.98 kB / 0.8512 GB, free: 6.605 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003668/0.7394, allocations: 251.9 kB / 0.8514 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006466/0.7401, allocations: 246.4 kB / 0.8517 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.7422, allocations: 0.8887 MB / 0.8525 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.7422, allocations: 11.98 kB / 0.8525 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.7422, allocations: 0 / 0.8525 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/0.7433, allocations: 0.6775 MB / 0.8532 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005157/0.7485, allocations: 2.588 MB / 0.8557 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.7485, allocations: 0 / 0.8557 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/0.7491, allocations: 131.8 kB / 0.8558 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.819e-05/0.7491, allocations: 4 kB / 0.8558 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.7492, allocations: 16 kB / 0.8559 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.531e-05/0.7492, allocations: 12.02 kB / 0.8559 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.7492, allocations: 7.938 kB / 0.8559 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.7518, allocations: 1.315 MB / 0.8572 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.7529, allocations: 427.5 kB / 0.8576 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006276/0.7535, allocations: 15.98 kB / 0.8576 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/0.7549, allocations: 51.59 kB / 0.8576 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.7551, allocations: 48.44 kB / 0.8577 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.9e-05/0.7552, allocations: 31.97 kB / 0.8577 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003052/0.7582, allocations: 1.569 MB / 0.8592 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7582, allocations: 0 / 0.8592 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003653/0.7619, allocations: 1.115 MB / 0.8603 GB, free: 13.06 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004741/0.7666, allocations: 2.537 MB / 0.8628 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00268/0.7693, allocations: 1.355 MB / 0.8641 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7693, allocations: 0 / 0.8641 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.7699, allocations: 335 kB / 0.8645 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006219/0.7761, allocations: 1.377 MB / 0.8658 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/0.8012, allocations: 14.94 MB / 0.8804 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/0.8029, allocations: 1.59 MB / 0.8819 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002078/0.805, allocations: 0.4946 MB / 0.8824 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/0.8064, allocations: 0.9601 MB / 0.8834 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.8065, allocations: 0 / 0.8834 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/0.9185, allocations: 64.16 MB / 0.946 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.59, allocations: 13.72 kB / 0.946 GB, free: 5.566 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)