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.0009819/0.0009856, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001002/0.001002, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.245/1.245, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7086/0.7086, allocations: 132.2 MB / 422.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001185, allocations: 64.33 kB / 0.5014 GB, free: 4.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3265, allocations: 80.21 MB / 0.5797 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09213/0.4186, allocations: 111.6 MB / 0.6887 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.4425, allocations: 20.09 MB / 0.7083 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/0.4453, allocations: 95.38 kB / 0.7084 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.4478, allocations: 1.096 MB / 0.7095 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006664/0.4545, allocations: 3.418 MB / 0.7128 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005405/0.4599, allocations: 2.873 MB / 0.7156 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006489/0.4664, allocations: 7.244 MB / 0.7227 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00249/0.4689, allocations: 2.537 MB / 0.7252 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004545/0.4735, allocations: 2.824 MB / 0.7279 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.4756, allocations: 2.194 MB / 0.7301 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002873/0.4759, allocations: 255.9 kB / 0.7303 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.4785, allocations: 1.654 MB / 0.7319 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004925/0.479, allocations: 0.6967 MB / 0.7326 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.4801, allocations: 1.512 MB / 0.7341 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003665/0.4838, allocations: 4.354 MB / 0.7383 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4838, allocations: 3.938 kB / 0.7383 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4838, allocations: 3.938 kB / 0.7384 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.151e-05/0.4839, allocations: 0 / 0.7384 GB, free: 14.71 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.004628/0.4885, allocations: 3.23 MB / 0.7415 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4885, allocations: 8.031 kB / 0.7415 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002168/0.4888, allocations: 219.5 kB / 0.7417 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006213/0.4894, allocations: 320.3 kB / 0.742 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/0.4921, allocations: 2.162 MB / 0.7441 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.4922, allocations: 123 kB / 0.7443 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.4924, allocations: 172 kB / 0.7444 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.4948, allocations: 1.608 MB / 0.746 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/0.4948, allocations: 7.938 kB / 0.746 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.4949, allocations: 64 kB / 0.7461 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/0.495, allocations: 47.94 kB / 0.7461 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.4967, allocations: 1.139 MB / 0.7472 GB, free: 5.414 MB / 0.5762 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.008371/0.5051, allocations: 7.893 MB / 0.7549 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.5058, allocations: 470 kB / 0.7554 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.5062, allocations: 322.9 kB / 0.7557 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005272/0.5068, allocations: 0.7602 MB / 0.7564 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.5068, allocations: 39.12 kB / 0.7565 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.194e-06/0.5068, allocations: 0 / 0.7565 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.001646/0.5085, allocations: 0.9881 MB / 0.7574 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.5085, allocations: 59.97 kB / 0.7575 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.5109, allocations: 2.308 MB / 0.7597 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.489e-05/0.511, allocations: 53.7 kB / 0.7598 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007754/0.5118, allocations: 1.157 MB / 0.7609 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.512, allocations: 209 kB / 0.7611 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.5123, allocations: 262.5 kB / 0.7614 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5124, allocations: 353.9 kB / 0.7617 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/0.513, allocations: 361.9 kB / 0.7621 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/0.5138, allocations: 0.7424 MB / 0.7628 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.515, allocations: 0.9824 MB / 0.7637 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.515, allocations: 0 / 0.7637 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00188/0.5169, allocations: 1.287 MB / 0.765 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.5169, allocations: 12.88 kB / 0.765 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.517, allocations: 8 kB / 0.765 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.517, allocations: 16 kB / 0.765 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008881/0.5179, allocations: 251.6 kB / 0.7653 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.5179, allocations: 23.92 kB / 0.7653 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.5194, allocations: 254.1 kB / 0.7655 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.322e-05/0.5194, allocations: 51.98 kB / 0.7656 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001059/0.5205, allocations: 0.7602 MB / 0.7663 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007839/0.5213, allocations: 0.731 MB / 0.767 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001162/0.5225, allocations: 0.9523 MB / 0.768 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.589e-06/0.5225, allocations: 3.984 kB / 0.768 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001765/0.5243, allocations: 1.262 MB / 0.7692 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.5243, allocations: 11.98 kB / 0.7692 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5243, allocations: 8 kB / 0.7692 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.5243, allocations: 16 kB / 0.7692 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.5251, allocations: 251.6 kB / 0.7695 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.5252, allocations: 19.88 kB / 0.7695 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.5266, allocations: 191.3 kB / 0.7697 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/0.5266, allocations: 51.98 kB / 0.7697 GB, free: 13.03 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.0002295/0.5269, allocations: 259.8 kB / 0.77 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.5272, allocations: 233.3 kB / 0.7702 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.5286, allocations: 0.8779 MB / 0.7711 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.5286, allocations: 7.984 kB / 0.7711 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5286, allocations: 4 kB / 0.7711 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008939/0.5295, allocations: 0.6931 MB / 0.7717 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.5327, allocations: 2.558 MB / 0.7742 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5327, allocations: 7.938 kB / 0.7743 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.5332, allocations: 127.8 kB / 0.7744 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5332, allocations: 8.094 kB / 0.7744 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.5333, allocations: 15.98 kB / 0.7744 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.5333, allocations: 7.938 kB / 0.7744 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5333, allocations: 4 kB / 0.7744 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.535, allocations: 1.313 MB / 0.7757 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/0.5355, allocations: 414 kB / 0.7761 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.5357, allocations: 12 kB / 0.7761 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009811/0.5367, allocations: 119.6 kB / 0.7762 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.5368, allocations: 44.5 kB / 0.7763 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.5369, allocations: 31.97 kB / 0.7763 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001722/0.5386, allocations: 1.55 MB / 0.7778 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5386, allocations: 4 kB / 0.7778 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002034/0.5406, allocations: 1.095 MB / 0.7789 GB, free: 3.484 MB / 0.6075 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.003127/0.5438, allocations: 2.505 MB / 0.7813 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002231/0.546, allocations: 1.448 MB / 0.7827 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.546, allocations: 0 / 0.7827 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.5465, allocations: 319 kB / 0.783 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004628/0.5511, allocations: 1.383 MB / 0.7844 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/0.5758, allocations: 18.06 MB / 0.802 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009615/0.5768, allocations: 1.594 MB / 0.8036 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001619/0.5784, allocations: 496.4 kB / 0.8041 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009938/0.5794, allocations: 0.9678 MB / 0.805 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.5794, allocations: 4 kB / 0.805 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.374/1.954, allocations: 65.04 MB / 0.8685 GB, free: 175.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/1.954, allocations: 247.8 kB / 0.8688 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.597/5.551, allocations: 0 / 0.8688 GB, free: 175.4 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)