Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 115.9 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002168/0.002168, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9025/0.9025, allocations: 129.2 MB / 432.5 MB, free: 13.04 MB / 350.1 MB " [Timeout remaining time 179] 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.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 0.5987 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4333, allocations: 83.44 MB / 0.6802 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02145/0.4548, allocations: 17.57 MB / 0.6973 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008409/0.4632, allocations: 4.911 MB / 0.7021 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009665/0.4642, allocations: 14.12 kB / 0.7022 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.4652, allocations: 264.3 kB / 0.7024 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.4676, allocations: 0.6391 MB / 0.703 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.4701, allocations: 0.72 MB / 0.7037 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.4718, allocations: 0.9538 MB / 0.7047 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005465/0.4723, allocations: 283.6 kB / 0.7049 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.4736, allocations: 476.4 kB / 0.7054 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005381/0.4741, allocations: 313.1 kB / 0.7057 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.4742, allocations: 34.19 kB / 0.7057 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.4759, allocations: 0.7478 MB / 0.7065 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.4761, allocations: 132.3 kB / 0.7066 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.4764, allocations: 244.3 kB / 0.7068 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.4783, allocations: 0.8743 MB / 0.7077 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4783, allocations: 0 / 0.7077 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4783, allocations: 0 / 0.7077 GB, free: 492 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.4783, allocations: 0 / 0.7077 GB, free: 492 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001634/0.4799, allocations: 0.9053 MB / 0.7085 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.48, allocations: 8.844 kB / 0.7086 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.644e-05/0.4801, allocations: 59.02 kB / 0.7086 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.4803, allocations: 62.72 kB / 0.7087 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000813/0.4811, allocations: 460.8 kB / 0.7091 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.453e-05/0.4811, allocations: 24.66 kB / 0.7091 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.4812, allocations: 31.72 kB / 0.7092 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.4817, allocations: 276.8 kB / 0.7094 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4817, allocations: 0 / 0.7094 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.4818, allocations: 14.53 kB / 0.7094 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4818, allocations: 6.562 kB / 0.7095 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.4823, allocations: 190.4 kB / 0.7096 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.4845, allocations: 1.477 MB / 0.7111 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.4849, allocations: 155.4 kB / 0.7112 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.485, allocations: 74.47 kB / 0.7113 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001864/0.4869, allocations: 1.282 MB / 0.7125 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.487, allocations: 35.92 kB / 0.7126 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.774e-06/0.487, allocations: 0 / 0.7126 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006804/0.4876, allocations: 254.5 kB / 0.7128 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.4877, allocations: 53.31 kB / 0.7129 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008131/0.4885, allocations: 0.5748 MB / 0.7134 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.4886, allocations: 34.75 kB / 0.7135 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.4888, allocations: 270.2 kB / 0.7137 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.4889, allocations: 59.52 kB / 0.7138 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.489, allocations: 73.88 kB / 0.7139 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.4892, allocations: 358.8 kB / 0.7142 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.4894, allocations: 81.94 kB / 0.7143 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.4897, allocations: 214.7 kB / 0.7145 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.4901, allocations: 231.4 kB / 0.7147 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4901, allocations: 3.938 kB / 0.7147 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006185/0.4908, allocations: 309.1 kB / 0.715 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4908, allocations: 8 kB / 0.715 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4908, allocations: 4 kB / 0.715 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4908, allocations: 4 kB / 0.715 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.4911, allocations: 63.84 kB / 0.7151 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.4911, allocations: 4 kB / 0.7151 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.4914, allocations: 51.89 kB / 0.7151 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.4915, allocations: 20 kB / 0.7151 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003294/0.4918, allocations: 213.7 kB / 0.7153 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003163/0.4921, allocations: 217.6 kB / 0.7156 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004078/0.4925, allocations: 228.2 kB / 0.7158 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.4925, allocations: 0 / 0.7158 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005978/0.4931, allocations: 317 kB / 0.7161 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.4931, allocations: 8 kB / 0.7161 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4931, allocations: 4 kB / 0.7161 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.451e-06/0.4931, allocations: 4 kB / 0.7161 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.4934, allocations: 63.91 kB / 0.7162 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4934, allocations: 7.984 kB / 0.7162 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.4937, allocations: 32.06 kB / 0.7162 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.4938, allocations: 23.92 kB / 0.7162 GB, free: 8.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001736/0.4939, allocations: 204.1 kB / 0.7164 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.494, allocations: 47.67 kB / 0.7165 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006085/0.4946, allocations: 268.5 kB / 0.7167 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.4946, allocations: 4 kB / 0.7167 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4946, allocations: 4 kB / 0.7167 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4946, allocations: 0 / 0.7167 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.4958, allocations: 0.7263 MB / 0.7174 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4958, allocations: 0 / 0.7174 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.4959, allocations: 32.11 kB / 0.7175 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4959, allocations: 7.938 kB / 0.7175 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.496, allocations: 11.98 kB / 0.7175 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.496, allocations: 0 / 0.7175 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.496, allocations: 3.938 kB / 0.7175 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.4965, allocations: 350.5 kB / 0.7178 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.4967, allocations: 148.7 kB / 0.718 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.4967, allocations: 4 kB / 0.718 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.4969, allocations: 19.92 kB / 0.718 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.497, allocations: 15.92 kB / 0.718 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.497, allocations: 12 kB / 0.718 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005179/0.4975, allocations: 414.8 kB / 0.7184 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.4975, allocations: 4 kB / 0.7184 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008188/0.4983, allocations: 231.5 kB / 0.7186 GB, free: 5.902 MB / 0.5294 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00246/0.5008, allocations: 1.279 MB / 0.7199 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008164/0.5016, allocations: 308.6 kB / 0.7202 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5016, allocations: 0 / 0.7202 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.5018, allocations: 83.88 kB / 0.7202 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.5031, allocations: 255.6 kB / 0.7205 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006364/0.5095, allocations: 3.936 MB / 0.7243 GB, free: 4 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000653/0.5101, allocations: 0.8467 MB / 0.7252 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004106/0.5105, allocations: 108.2 kB / 0.7253 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.5108, allocations: 163.4 kB / 0.7254 GB, free: 14.86 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/0.5108, allocations: 0 / 0.7254 GB, free: 14.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/0.5567, allocations: 15.1 MB / 0.7402 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.971/9.528, allocations: 11.44 kB / 0.7402 GB, free: 15.95 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.153376556932926] Failed to read output from testmodel.py, exit status != 0: 9.659480047877878 9.682562836 9.199877884 Calling exit ...