Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 224.9 kB / 23.01 MB, free: 5.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9532/0.9532, allocations: 150 MB / 463.2 MB, free: 10.44 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 67.02 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1878, allocations: 89.18 MB / 0.7283 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.6359/0.8238, allocations: 242.2 MB / 0.9649 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02433/0.8481, allocations: 15.91 MB / 0.9804 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.8508, allocations: 87.25 kB / 0.9805 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.8539, allocations: 1.084 MB / 0.9816 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008533/0.8624, allocations: 3.135 MB / 0.9847 GB, free: 0.5625 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004594/0.867, allocations: 1.735 MB / 0.9863 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005918/0.8729, allocations: 3.476 MB / 0.9897 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.8749, allocations: 1.022 MB / 0.9907 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007809/0.8828, allocations: 2.891 MB / 0.9936 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.8855, allocations: 1.13 MB / 0.9947 GB, free: 6.305 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003206/0.8858, allocations: 116 kB / 0.9948 GB, free: 6.191 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006932/0.8928, allocations: 3.27 MB / 0.998 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0008885/0.8937, allocations: 490.2 kB / 0.9984 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.8952, allocations: 0.8162 MB / 0.9992 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006869/0.9021, allocations: 2.986 MB / 1.002 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.9021, allocations: 4 kB / 1.002 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9021, allocations: 0 / 1.002 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.814e-05/0.9021, allocations: 0 / 1.002 GB, free: 14.61 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004124/0.9062, allocations: 1.997 MB / 1.004 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.9063, allocations: 8.031 kB / 1.004 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.9065, allocations: 152.2 kB / 1.004 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.9093, allocations: 0.5063 MB / 1.005 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.912, allocations: 1.117 MB / 1.006 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.309e-05/0.9121, allocations: 78 kB / 1.006 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.9122, allocations: 96 kB / 1.006 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.9147, allocations: 1.354 MB / 1.007 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.9147, allocations: 3.938 kB / 1.007 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.9148, allocations: 40 kB / 1.007 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.081e-05/0.9149, allocations: 53.98 kB / 1.007 GB, free: 9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.9174, allocations: 1.046 MB / 1.008 GB, free: 7.949 MB / 0.7794 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.009141/0.9265, allocations: 7.414 MB / 1.016 GB, free: 44 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.9282, allocations: 0.5229 MB / 1.016 GB, free: 15.51 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/0.9288, allocations: 253.2 kB / 1.016 GB, free: 15.26 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002963/0.9291, allocations: 52.23 kB / 1.016 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.9291, allocations: 34.84 kB / 1.017 GB, free: 15.17 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 3.026e-06/0.9291, allocations: 7.938 kB / 1.017 GB, free: 15.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002539/0.9317, allocations: 0.8454 MB / 1.017 GB, free: 14.31 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.9317, allocations: 59.34 kB / 1.017 GB, free: 14.24 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.934, allocations: 1.396 MB / 1.019 GB, free: 12.83 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-05/0.9341, allocations: 37.7 kB / 1.019 GB, free: 12.79 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007056/0.9348, allocations: 0.7197 MB / 1.02 GB, free: 12.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.9349, allocations: 123 kB / 1.02 GB, free: 11.95 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/0.9352, allocations: 166.5 kB / 1.02 GB, free: 11.78 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.9353, allocations: 337.9 kB / 1.02 GB, free: 11.44 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008465/0.9362, allocations: 308.6 kB / 1.02 GB, free: 11.14 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.9374, allocations: 0.685 MB / 1.021 GB, free: 10.27 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.9392, allocations: 0.9345 MB / 1.022 GB, free: 9.18 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.9392, allocations: 7.938 kB / 1.022 GB, free: 9.172 MB / 0.795 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002504/0.9417, allocations: 1.058 MB / 1.023 GB, free: 8.105 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.9418, allocations: 8 kB / 1.023 GB, free: 8.098 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.9418, allocations: 12 kB / 1.023 GB, free: 8.086 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/0.9418, allocations: 16 kB / 1.023 GB, free: 8.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008763/0.9427, allocations: 204.3 kB / 1.023 GB, free: 7.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.678e-05/0.9427, allocations: 23.88 kB / 1.023 GB, free: 7.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.9441, allocations: 183 kB / 1.023 GB, free: 7.668 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/0.9442, allocations: 47.98 kB / 1.023 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/0.9454, allocations: 0.5701 MB / 1.024 GB, free: 7.051 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001164/0.9466, allocations: 0.6811 MB / 1.025 GB, free: 6.195 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001809/0.9484, allocations: 0.9333 MB / 1.026 GB, free: 5.102 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.101e-06/0.9484, allocations: 0 / 1.026 GB, free: 5.102 MB / 0.795 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002522/0.9509, allocations: 1.059 MB / 1.027 GB, free: 4.035 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.951, allocations: 8 kB / 1.027 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.951, allocations: 16.12 kB / 1.027 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.951, allocations: 16 kB / 1.027 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.9519, allocations: 199.7 kB / 1.027 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.868e-05/0.9519, allocations: 19.94 kB / 1.027 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.9533, allocations: 140.7 kB / 1.027 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.154e-05/0.9534, allocations: 47.98 kB / 1.027 GB, free: 3.598 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0002941/0.9536, allocations: 239.8 kB / 1.027 GB, free: 3.355 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.954, allocations: 151.1 kB / 1.027 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.9557, allocations: 0.6368 MB / 1.028 GB, free: 2.551 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9558, allocations: 4 kB / 1.028 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.9558, allocations: 0 / 1.028 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.9558, allocations: 4 kB / 1.028 GB, free: 2.543 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004096/0.9599, allocations: 1.87 MB / 1.03 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.9599, allocations: 4 kB / 1.03 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/0.9604, allocations: 96.02 kB / 1.03 GB, free: 484 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.9604, allocations: 7.938 kB / 1.03 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.9604, allocations: 15.98 kB / 1.03 GB, free: 460 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.9604, allocations: 5 kB / 1.03 GB, free: 456 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.9604, allocations: 7.938 kB / 1.03 GB, free: 448 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.9622, allocations: 0.8121 MB / 1.031 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006536/0.9628, allocations: 222.8 kB / 1.031 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.9631, allocations: 11.98 kB / 1.031 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.9641, allocations: 67.92 kB / 1.031 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.9642, allocations: 39.83 kB / 1.031 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.9643, allocations: 19.98 kB / 1.031 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00175/0.966, allocations: 1.013 MB / 1.032 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.966, allocations: 0 / 1.032 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002173/0.9682, allocations: 0.5775 MB / 1.033 GB, free: 13.62 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.002636/0.9708, allocations: 1.511 MB / 1.034 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003095/0.9739, allocations: 1.086 MB / 1.035 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.9739, allocations: 4 kB / 1.035 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000704/0.9746, allocations: 248.8 kB / 1.036 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/0.9784, allocations: 0.7435 MB / 1.036 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/0.9971, allocations: 9.867 MB / 1.046 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008879/0.9979, allocations: 1.182 MB / 1.047 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001431/0.9994, allocations: 387.9 kB / 1.047 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007276/1, allocations: 0.4993 MB / 1.048 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of SimCode: time 9.71e-07/1, allocations: 0 / 1.048 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.401/1.401, allocations: 36.34 MB / 1.083 GB, free: 293.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/15.02, allocations: 6.5 kB / 1.083 GB, free: 293.9 MB / 0.8419 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.806239943020046] Failed to read output from testmodel.py, exit status != 0: 15.148738795192912 15.173399049 14.266523053 Calling exit ...