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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 117.7 kB / 17.13 MB, free: 5.777 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.001975/0.001975, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.479/1.479, allocations: 225.6 MB / 248.5 MB, free: 3.586 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.8661/0.8661, allocations: 129.2 MB / 432.5 MB, free: 13.38 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 59.91 kB / 0.5987 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4392, allocations: 83.44 MB / 0.6802 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1303/0.5695, allocations: 113.3 MB / 0.7909 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03825/0.6077, allocations: 20.11 MB / 0.8105 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005395/0.6131, allocations: 107.3 kB / 0.8106 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004863/0.618, allocations: 1.32 MB / 0.8119 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01544/0.6334, allocations: 3.845 MB / 0.8157 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.6435, allocations: 3.122 MB / 0.8187 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01346/0.6569, allocations: 7.15 MB / 0.8257 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004749/0.6617, allocations: 2.08 MB / 0.8277 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008387/0.6701, allocations: 3.064 MB / 0.8307 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004123/0.6742, allocations: 2.17 MB / 0.8328 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008572/0.6751, allocations: 252 kB / 0.8331 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004159/0.6792, allocations: 1.665 MB / 0.8347 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.6803, allocations: 0.7158 MB / 0.8354 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002674/0.683, allocations: 1.493 MB / 0.8368 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007734/0.6907, allocations: 4.385 MB / 0.8411 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.6907, allocations: 4 kB / 0.8411 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.175e-06/0.6907, allocations: 0 / 0.8411 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001337/0.6908, allocations: 0 / 0.8411 GB, free: 8.652 MB / 0.6544 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.006058/0.6969, allocations: 3.266 MB / 0.8443 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.6969, allocations: 8.031 kB / 0.8443 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002702/0.6972, allocations: 223.5 kB / 0.8445 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007546/0.698, allocations: 338 kB / 0.8449 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003975/0.7019, allocations: 2.199 MB / 0.847 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.702, allocations: 130.9 kB / 0.8471 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002483/0.7023, allocations: 168 kB / 0.8473 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.705, allocations: 1.615 MB / 0.8489 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.7051, allocations: 0 / 0.8489 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.7052, allocations: 64 kB / 0.8489 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.755e-05/0.7052, allocations: 43.98 kB / 0.849 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.7074, allocations: 1.147 MB / 0.8501 GB, free: 15.24 MB / 0.67 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.01143/0.7188, allocations: 8.143 MB / 0.8581 GB, free: 6.539 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008186/0.7197, allocations: 457.5 kB / 0.8585 GB, free: 6.09 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/0.7202, allocations: 295 kB / 0.8588 GB, free: 5.801 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007528/0.7209, allocations: 0.7524 MB / 0.8595 GB, free: 4.883 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.721, allocations: 51.06 kB / 0.8596 GB, free: 4.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.204e-06/0.721, allocations: 0 / 0.8596 GB, free: 4.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002054/0.723, allocations: 0.9895 MB / 0.8605 GB, free: 3.828 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.7231, allocations: 59.97 kB / 0.8606 GB, free: 3.758 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/0.7261, allocations: 2.285 MB / 0.8628 GB, free: 1.461 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.7262, allocations: 53.7 kB / 0.8629 GB, free: 1.402 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.7273, allocations: 1.159 MB / 0.864 GB, free: 240 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.7275, allocations: 226.1 kB / 0.8642 GB, free: 12 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3501/1.078, allocations: 248 kB / 0.8644 GB, free: 169.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.078, allocations: 353.5 kB / 0.8648 GB, free: 169.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007307/1.078, allocations: 355.8 kB / 0.8651 GB, free: 169.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009656/1.079, allocations: 0.7523 MB / 0.8659 GB, free: 168.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/1.081, allocations: 0.9809 MB / 0.8668 GB, free: 168.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/1.081, allocations: 2 kB / 0.8668 GB, free: 168.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002585/1.083, allocations: 1.299 MB / 0.8681 GB, free: 167.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/1.083, allocations: 8.75 kB / 0.8681 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/1.083, allocations: 8.719 kB / 0.8681 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.383e-05/1.084, allocations: 14 kB / 0.8681 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.085, allocations: 249.7 kB / 0.8684 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.597e-05/1.085, allocations: 19.8 kB / 0.8684 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.086, allocations: 170.7 kB / 0.8685 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.756e-05/1.086, allocations: 51.7 kB / 0.8686 GB, free: 167.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001557/1.088, allocations: 0.7604 MB / 0.8693 GB, free: 167.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001135/1.089, allocations: 0.7416 MB / 0.8701 GB, free: 166.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001614/1.09, allocations: 0.9527 MB / 0.871 GB, free: 166.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-05/1.09, allocations: 2.625 kB / 0.871 GB, free: 166.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002969/1.093, allocations: 1.268 MB / 0.8722 GB, free: 165.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.093, allocations: 8.656 kB / 0.8722 GB, free: 165.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/1.093, allocations: 11.86 kB / 0.8722 GB, free: 165.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/1.094, allocations: 16.38 kB / 0.8723 GB, free: 165.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009332/1.094, allocations: 250.3 kB / 0.8725 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.568e-05/1.094, allocations: 19.81 kB / 0.8725 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/1.096, allocations: 124.7 kB / 0.8726 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/1.096, allocations: 50.31 kB / 0.8727 GB, free: 165.8 MB / 0.67 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.0004726/1.097, allocations: 252.2 kB / 0.8729 GB, free: 165.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006036/1.097, allocations: 245.9 kB / 0.8732 GB, free: 165.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/1.099, allocations: 0.8776 MB / 0.874 GB, free: 165.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/1.099, allocations: 11.23 kB / 0.874 GB, free: 165.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.099, allocations: 0.625 kB / 0.874 GB, free: 165.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/1.101, allocations: 0.6871 MB / 0.8747 GB, free: 164.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003762/1.104, allocations: 2.561 MB / 0.8772 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.104, allocations: 4.25 kB / 0.8772 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/1.105, allocations: 127.5 kB / 0.8773 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/1.105, allocations: 4.062 kB / 0.8773 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/1.105, allocations: 19.64 kB / 0.8773 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/1.105, allocations: 6.688 kB / 0.8774 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.105, allocations: 1.281 kB / 0.8774 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/1.107, allocations: 1.326 MB / 0.8786 GB, free: 162.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006686/1.108, allocations: 415.1 kB / 0.879 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/1.108, allocations: 12.09 kB / 0.8791 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008622/1.109, allocations: 57.91 kB / 0.8791 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/1.109, allocations: 43.23 kB / 0.8792 GB, free: 162.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-05/1.109, allocations: 31.12 kB / 0.8792 GB, free: 162.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001954/1.111, allocations: 1.537 MB / 0.8807 GB, free: 162 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.111, allocations: 2.938 kB / 0.8807 GB, free: 162 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002619/1.113, allocations: 1.107 MB / 0.8818 GB, free: 161.9 MB / 0.67 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.003696/1.117, allocations: 2.527 MB / 0.8842 GB, free: 160.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00222/1.119, allocations: 1.284 MB / 0.8855 GB, free: 160 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.119, allocations: 1.125 kB / 0.8855 GB, free: 160 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000446/1.12, allocations: 302.5 kB / 0.8858 GB, free: 159.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004541/1.124, allocations: 1.389 MB / 0.8871 GB, free: 159.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/1.141, allocations: 14.86 MB / 0.9016 GB, free: 150.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/1.142, allocations: 1.578 MB / 0.9032 GB, free: 148.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001706/1.144, allocations: 0.4906 MB / 0.9037 GB, free: 148.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008529/1.145, allocations: 0.9483 MB / 0.9046 GB, free: 147.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.123e-06/1.145, allocations: 0 / 0.9046 GB, free: 147.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09586/1.241, allocations: 64.25 MB / 0.9673 GB, free: 83.86 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14.18, allocations: 5.938 kB / 0.9673 GB, free: 83.86 MB / 0.67 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.876268913038075] Failed to read output from testmodel.py, exit status != 0: 14.345100430771708 14.360775268 13.666472876 Calling exit ...