Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Examples.ThreeWayValves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IBPSA_latest_IBPSA_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.00121/0.00121, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001199/0.001199, allocations: 182.7 kB / 17.19 MB, free: 5.688 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.271/1.271, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7257/0.7257, allocations: 122.8 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3161, allocations: 77.92 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09441/0.4106, allocations: 112.6 MB / 0.6773 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02743/0.4381, allocations: 20.26 MB / 0.6971 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003517/0.4416, allocations: 107.4 kB / 0.6972 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.4453, allocations: 1.273 MB / 0.6984 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009663/0.4549, allocations: 3.682 MB / 0.702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007177/0.4621, allocations: 3.082 MB / 0.705 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008086/0.4702, allocations: 7.194 MB / 0.712 GB, free: 6.293 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00363/0.4739, allocations: 2.572 MB / 0.7145 GB, free: 3.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005664/0.4796, allocations: 2.799 MB / 0.7173 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003298/0.4829, allocations: 2.128 MB / 0.7194 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007999/0.4837, allocations: 252 kB / 0.7196 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004245/0.4879, allocations: 1.65 MB / 0.7212 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.489, allocations: 0.6889 MB / 0.7219 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002775/0.4918, allocations: 1.52 MB / 0.7234 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006353/0.4982, allocations: 4.331 MB / 0.7276 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4982, allocations: 4 kB / 0.7276 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4982, allocations: 0 / 0.7276 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001234/0.4984, allocations: 3.938 kB / 0.7276 GB, free: 6.25 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006147/0.5045, allocations: 3.218 MB / 0.7307 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.5046, allocations: 12.62 kB / 0.7308 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003707/0.5049, allocations: 227.6 kB / 0.731 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009076/0.5058, allocations: 328.4 kB / 0.7313 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/0.5095, allocations: 2.095 MB / 0.7333 GB, free: 236 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.881e-05/0.5096, allocations: 123 kB / 0.7334 GB, free: 112 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/0.5098, allocations: 168 kB / 0.7336 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.5126, allocations: 1.612 MB / 0.7352 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.5126, allocations: 11.92 kB / 0.7352 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.5128, allocations: 60 kB / 0.7352 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.5128, allocations: 51.88 kB / 0.7353 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.5149, allocations: 1.147 MB / 0.7364 GB, free: 13 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.01017/0.525, allocations: 7.979 MB / 0.7442 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007447/0.5258, allocations: 474 kB / 0.7447 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.5263, allocations: 319 kB / 0.745 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.5268, allocations: 0.7563 MB / 0.7457 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.5269, allocations: 47.06 kB / 0.7457 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.205e-06/0.5269, allocations: 0 / 0.7457 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001953/0.5289, allocations: 0.9804 MB / 0.7467 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.5289, allocations: 59.97 kB / 0.7468 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2471/0.776, allocations: 2.339 MB / 0.749 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002078/0.7763, allocations: 47.66 kB / 0.7491 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008325/0.7771, allocations: 1.154 MB / 0.7502 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.7773, allocations: 211.6 kB / 0.7504 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.7776, allocations: 256.5 kB / 0.7507 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.7777, allocations: 349.3 kB / 0.751 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006585/0.7784, allocations: 360.6 kB / 0.7513 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/0.7793, allocations: 0.7459 MB / 0.7521 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.7806, allocations: 0.9829 MB / 0.753 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.7806, allocations: 7.406 kB / 0.753 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00235/0.7829, allocations: 1.29 MB / 0.7543 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.783, allocations: 10.44 kB / 0.7543 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.783, allocations: 10.19 kB / 0.7543 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.783, allocations: 14.41 kB / 0.7543 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009807/0.784, allocations: 253.9 kB / 0.7546 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.95e-05/0.7841, allocations: 18.72 kB / 0.7546 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.7854, allocations: 166.2 kB / 0.7547 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.7856, allocations: 52.89 kB / 0.7548 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001343/0.7869, allocations: 0.7641 MB / 0.7555 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007869/0.7877, allocations: 0.735 MB / 0.7563 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00117/0.7889, allocations: 0.9503 MB / 0.7572 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.811e-06/0.7889, allocations: 3.906 kB / 0.7572 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001989/0.7909, allocations: 1.257 MB / 0.7584 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.7909, allocations: 7.938 kB / 0.7584 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7909, allocations: 11.64 kB / 0.7584 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.7909, allocations: 14.47 kB / 0.7585 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008625/0.7918, allocations: 246.7 kB / 0.7587 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.7918, allocations: 24.33 kB / 0.7587 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.7932, allocations: 123.3 kB / 0.7588 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/0.7933, allocations: 51.95 kB / 0.7589 GB, free: 159 MB / 0.5762 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.0002405/0.7935, allocations: 248.2 kB / 0.7591 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.7938, allocations: 244.5 kB / 0.7593 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.7954, allocations: 0.8784 MB / 0.7602 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.7954, allocations: 12.25 kB / 0.7602 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7954, allocations: 0 / 0.7602 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000911/0.7964, allocations: 0.6863 MB / 0.7609 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/0.7998, allocations: 2.587 MB / 0.7634 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7998, allocations: 2.844 kB / 0.7634 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.8003, allocations: 126.3 kB / 0.7635 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.8004, allocations: 3.281 kB / 0.7635 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.8004, allocations: 20.72 kB / 0.7636 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.8004, allocations: 3.844 kB / 0.7636 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8004, allocations: 5.531 kB / 0.7636 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.8021, allocations: 1.316 MB / 0.7649 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/0.8027, allocations: 424.2 kB / 0.7653 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/0.803, allocations: 14.02 kB / 0.7653 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009125/0.8039, allocations: 42.64 kB / 0.7653 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.804, allocations: 39.53 kB / 0.7654 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.804, allocations: 37.5 kB / 0.7654 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001973/0.806, allocations: 1.568 MB / 0.7669 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.806, allocations: 0.5312 kB / 0.7669 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002903/0.8089, allocations: 1.107 MB / 0.768 GB, free: 155 MB / 0.5762 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.003396/0.8123, allocations: 2.525 MB / 0.7705 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002568/0.8149, allocations: 1.444 MB / 0.7719 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8149, allocations: 3.672 kB / 0.7719 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.8154, allocations: 326.1 kB / 0.7722 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005173/0.8206, allocations: 1.393 MB / 0.7736 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.8376, allocations: 17.47 MB / 0.7906 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.8383, allocations: 1.586 MB / 0.7922 GB, free: 137.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001839/0.8401, allocations: 0.4939 MB / 0.7926 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008446/0.841, allocations: 0.9601 MB / 0.7936 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.841, allocations: 0 / 0.7936 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07969/0.9207, allocations: 66.05 MB / 0.8581 GB, free: 70.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.729/9.649, allocations: 12 kB / 0.8581 GB, free: 70.36 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)