Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.0007555/0.0007556, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009167/0.0009168, allocations: 174 kB / 16.58 MB, free: 5.684 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.205/1.205, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6164/0.6164, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002829, allocations: 8 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1226, allocations: 77.14 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.3483/0.4709, allocations: 142.6 MB / 0.6962 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03674/0.5077, allocations: 28.61 MB / 0.7241 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004987/0.5127, allocations: 123.1 kB / 0.7243 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002722/0.5155, allocations: 0.6866 MB / 0.7249 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007031/0.5225, allocations: 2.514 MB / 0.7274 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005291/0.5278, allocations: 2.001 MB / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00754/0.5354, allocations: 6.255 MB / 0.7354 GB, free: 3.754 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003062/0.5385, allocations: 1.675 MB / 0.7371 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004813/0.5433, allocations: 2.212 MB / 0.7392 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003166/0.5465, allocations: 1.797 MB / 0.741 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005227/0.547, allocations: 100 kB / 0.7411 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002389/0.5494, allocations: 0.8501 MB / 0.7419 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006365/0.5501, allocations: 410.1 kB / 0.7423 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000899/0.551, allocations: 468.5 kB / 0.7428 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.5538, allocations: 2.422 MB / 0.7451 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5538, allocations: 0 / 0.7451 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5538, allocations: 0 / 0.7451 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.047e-05/0.5539, allocations: 0 / 0.7451 GB, free: 9.785 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.00437/0.5583, allocations: 2.371 MB / 0.7474 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.5583, allocations: 8.031 kB / 0.7474 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003138/0.5586, allocations: 177.4 kB / 0.7476 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004928/0.5591, allocations: 264.8 kB / 0.7479 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/0.5618, allocations: 1.377 MB / 0.7492 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.248e-05/0.5619, allocations: 102.3 kB / 0.7493 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.5621, allocations: 140 kB / 0.7494 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.5642, allocations: 1.156 MB / 0.7506 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.5642, allocations: 3.953 kB / 0.7506 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-05/0.5643, allocations: 44 kB / 0.7506 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.5643, allocations: 28 kB / 0.7506 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.5661, allocations: 1.013 MB / 0.7516 GB, free: 2.934 MB / 0.5606 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.008854/0.575, allocations: 6.354 MB / 0.7578 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/0.5759, allocations: 0.5798 MB / 0.7584 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/0.5764, allocations: 386.4 kB / 0.7588 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/0.5768, allocations: 0.507 MB / 0.7593 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.5769, allocations: 43.12 kB / 0.7593 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001237/0.5781, allocations: 330.7 kB / 0.7596 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 4.558e-06/0.5781, allocations: 0 / 0.7596 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58): time 0.001896/0.58, allocations: 1.129 MB / 0.7607 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.5801, allocations: 59.97 kB / 0.7608 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.5824, allocations: 1.881 MB / 0.7626 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-05/0.5825, allocations: 49.7 kB / 0.7627 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007202/0.5832, allocations: 0.9184 MB / 0.7636 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.5834, allocations: 201.1 kB / 0.7638 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.5834, allocations: 24 kB / 0.7638 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5836, allocations: 353.9 kB / 0.7641 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006811/0.5842, allocations: 410.4 kB / 0.7645 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/0.5851, allocations: 0.6488 MB / 0.7651 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008103/0.586, allocations: 494.3 kB / 0.7656 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.586, allocations: 4 kB / 0.7656 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002051/0.588, allocations: 1.338 MB / 0.7669 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.5882, allocations: 192.9 kB / 0.7671 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5882, allocations: 4 kB / 0.7671 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.5882, allocations: 8 kB / 0.7671 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.5893, allocations: 279.6 kB / 0.7674 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/0.5893, allocations: 11.95 kB / 0.7674 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.5907, allocations: 151.6 kB / 0.7675 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.5908, allocations: 59.95 kB / 0.7676 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.5908, allocations: 7.938 kB / 0.7676 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001735/0.5926, allocations: 1.112 MB / 0.7687 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.5926, allocations: 4 kB / 0.7687 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.5926, allocations: 8 kB / 0.7687 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.5936, allocations: 275.6 kB / 0.769 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.5937, allocations: 8 kB / 0.769 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.5949, allocations: 143.7 kB / 0.7691 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.595, allocations: 55.95 kB / 0.7692 GB, free: 180 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006536/0.5956, allocations: 457.4 kB / 0.7696 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.5959, allocations: 205.4 kB / 0.7698 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.5979, allocations: 1.071 MB / 0.7708 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.5979, allocations: 15.98 kB / 0.7709 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5979, allocations: 0 / 0.7709 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5979, allocations: 3.984 kB / 0.7709 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/0.6013, allocations: 2.406 MB / 0.7732 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6014, allocations: 4.188 kB / 0.7732 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.6019, allocations: 143.8 kB / 0.7734 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/0.6019, allocations: 4 kB / 0.7734 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.6019, allocations: 16 kB / 0.7734 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.602, allocations: 11.94 kB / 0.7734 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.602, allocations: 0 / 0.7734 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.6033, allocations: 1.058 MB / 0.7744 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005547/0.6039, allocations: 374.2 kB / 0.7748 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.6041, allocations: 16 kB / 0.7748 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008399/0.605, allocations: 103.7 kB / 0.7749 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.6051, allocations: 52.53 kB / 0.7749 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.6051, allocations: 24 kB / 0.775 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001627/0.6067, allocations: 1.233 MB / 0.7762 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.573e-06/0.6068, allocations: 0 / 0.7762 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002021/0.6088, allocations: 0.8887 MB / 0.777 GB, free: 7.945 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002216/0.611, allocations: 1.854 MB / 0.7788 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002526/0.6135, allocations: 1.547 MB / 0.7804 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6136, allocations: 1.312 kB / 0.7804 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005706/0.6141, allocations: 407.8 kB / 0.7807 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004682/0.6188, allocations: 1.131 MB / 0.7819 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/0.6383, allocations: 11.19 MB / 0.7928 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.6394, allocations: 1.409 MB / 0.7942 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001845/0.6413, allocations: 405.9 kB / 0.7945 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.6424, allocations: 0.8273 MB / 0.7953 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.6424, allocations: 0 / 0.7953 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3029/0.9453, allocations: 53.66 MB / 0.8478 GB, free: 227.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.9455, allocations: 254.7 kB / 0.848 GB, free: 227.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/3.791, allocations: 0 / 0.848 GB, free: 227.4 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: