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.00162/0.00162, allocations: 115.7 kB / 17.84 MB, free: 5.312 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.001506/0.001506, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.387/1.387, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.9053/0.9053, allocations: 150 MB / 460.2 MB, free: 5.23 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",fmuType="cs",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.001856/0.001856, allocations: 66.81 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1415, allocations: 89.14 MB / 0.7238 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.5624/0.7039, allocations: 241.5 MB / 0.9597 GB, free: 300 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02006/0.724, allocations: 15.85 MB / 0.9752 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003032/0.727, allocations: 84.91 kB / 0.9753 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.7298, allocations: 1.08 MB / 0.9763 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007876/0.7377, allocations: 3.1 MB / 0.9793 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004124/0.7418, allocations: 1.698 MB / 0.981 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004598/0.7464, allocations: 3.419 MB / 0.9843 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.7479, allocations: 1.071 MB / 0.9854 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006539/0.7545, allocations: 2.846 MB / 0.9882 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.7567, allocations: 1.129 MB / 0.9893 GB, free: 368 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.757, allocations: 118.2 kB / 0.9894 GB, free: 368 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006/0.763, allocations: 3.246 MB / 0.9926 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006693/0.7636, allocations: 486.2 kB / 0.993 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.7649, allocations: 0.8162 MB / 0.9938 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005928/0.7708, allocations: 2.987 MB / 0.9967 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7708, allocations: 0 / 0.9967 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7708, allocations: 4 kB / 0.9967 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.007e-05/0.7708, allocations: 0 / 0.9967 GB, free: 9.352 MB / 0.7012 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.003898/0.7747, allocations: 2.064 MB / 0.9987 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.7748, allocations: 12.03 kB / 0.9988 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.606e-05/0.7748, allocations: 30 kB / 0.9988 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001808/0.775, allocations: 152.2 kB / 0.9989 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/0.7778, allocations: 0.5024 MB / 0.9994 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.7802, allocations: 1.197 MB / 1.001 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.776e-05/0.7802, allocations: 79.12 kB / 1.001 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.7804, allocations: 108 kB / 1.001 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.7829, allocations: 1.346 MB / 1.002 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.7829, allocations: 7.938 kB / 1.002 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.783, allocations: 47.94 kB / 1.002 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.877e-05/0.7831, allocations: 41.98 kB / 1.002 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.7855, allocations: 1.054 MB / 1.003 GB, free: 2.477 MB / 0.7012 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.008726/0.7942, allocations: 7.48 MB / 1.011 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.7958, allocations: 0.5256 MB / 1.011 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.7964, allocations: 250.1 kB / 1.011 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003821/0.7968, allocations: 279.6 kB / 1.012 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.7968, allocations: 38.84 kB / 1.012 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/0.7968, allocations: 0 / 1.012 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.002411/0.7992, allocations: 0.8502 MB / 1.012 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.7992, allocations: 51.41 kB / 1.012 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.8011, allocations: 1.407 MB / 1.014 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/0.8011, allocations: 29.7 kB / 1.014 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005813/0.8017, allocations: 0.7158 MB / 1.015 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.8018, allocations: 130.9 kB / 1.015 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.8021, allocations: 166.5 kB / 1.015 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.8022, allocations: 337.9 kB / 1.015 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008309/0.8031, allocations: 308.6 kB / 1.015 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.8042, allocations: 0.6891 MB / 1.016 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.806, allocations: 0.9381 MB / 1.017 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.806, allocations: 4 kB / 1.017 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002351/0.8083, allocations: 1.059 MB / 1.018 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.8084, allocations: 8 kB / 1.018 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.8084, allocations: 16 kB / 1.018 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.8084, allocations: 16 kB / 1.018 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008424/0.8093, allocations: 212.1 kB / 1.018 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.8093, allocations: 19.94 kB / 1.018 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.8105, allocations: 187 kB / 1.019 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/0.8106, allocations: 39.98 kB / 1.019 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001194/0.8118, allocations: 0.5682 MB / 1.019 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001114/0.8129, allocations: 0.6853 MB / 1.02 GB, free: 368 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001775/0.8147, allocations: 0.9256 MB / 1.021 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.382e-06/0.8147, allocations: 4 kB / 1.021 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002345/0.817, allocations: 1.059 MB / 1.022 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.817, allocations: 12 kB / 1.022 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.817, allocations: 12 kB / 1.022 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.8171, allocations: 20.03 kB / 1.022 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008015/0.8179, allocations: 199.7 kB / 1.022 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.8179, allocations: 23.88 kB / 1.022 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.8191, allocations: 135.6 kB / 1.022 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.8191, allocations: 39.98 kB / 1.022 GB, free: 13.77 MB / 0.7325 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.0002422/0.8194, allocations: 239.9 kB / 1.022 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.8196, allocations: 147 kB / 1.023 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.8212, allocations: 0.6446 MB / 1.023 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.8212, allocations: 4 kB / 1.023 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8212, allocations: 0 / 1.023 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8212, allocations: 0 / 1.023 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/0.8246, allocations: 1.898 MB / 1.025 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.8247, allocations: 4 kB / 1.025 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.8251, allocations: 91.86 kB / 1.025 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.926e-05/0.8252, allocations: 16.14 kB / 1.025 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.8252, allocations: 8 kB / 1.025 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.8252, allocations: 11.94 kB / 1.025 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8252, allocations: 7.938 kB / 1.025 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.8268, allocations: 0.8162 MB / 1.026 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/0.8272, allocations: 299.9 kB / 1.026 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.8274, allocations: 8 kB / 1.026 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009578/0.8284, allocations: 67.92 kB / 1.026 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/0.8285, allocations: 43.84 kB / 1.026 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.8285, allocations: 19.97 kB / 1.026 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001416/0.8299, allocations: 1.013 MB / 1.027 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8299, allocations: 0 / 1.027 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001733/0.8317, allocations: 0.5852 MB / 1.028 GB, free: 7.652 MB / 0.7325 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.002202/0.8339, allocations: 1.503 MB / 1.029 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002765/0.8366, allocations: 1.085 MB / 1.03 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8366, allocations: 0 / 1.03 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006718/0.8373, allocations: 244.9 kB / 1.031 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/0.8405, allocations: 0.7475 MB / 1.031 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/0.8568, allocations: 9.873 MB / 1.041 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008106/0.8576, allocations: 1.186 MB / 1.042 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00128/0.8589, allocations: 387.9 kB / 1.043 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006567/0.8596, allocations: 0.4915 MB / 1.043 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of SimCode: time 6.22e-07/0.8596, allocations: 4 kB / 1.043 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06395/0.9235, allocations: 35.83 MB / 1.078 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.64, allocations: 9.781 kB / 1.078 GB, free: 4.074 MB / 0.7794 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 15.243836228037253] Failed to read output from testmodel.py, exit status != 0: 11.788009995012544 11.814480832 11.038786806 Calling exit ...