Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001306/0.001306, allocations: 105 kB / 20.48 MB, free: 1.488 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.001392/0.001392, allocations: 215.5 kB / 23.79 MB, free: 4.703 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.497/1.497, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.9835/0.9835, allocations: 150 MB / 464 MB, free: 10.49 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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.00274/0.00274, allocations: 67.14 kB / 0.642 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2032, allocations: 89.17 MB / 0.7291 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00243/0.2056, allocations: 1.279 MB / 0.7304 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002711/0.2059, allocations: 99.55 kB / 0.7305 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.2059, allocations: 0 / 0.7305 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.2059, allocations: 3.938 kB / 0.7305 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.698e-05/0.206, allocations: 4 kB / 0.7305 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.2061, allocations: 31.89 kB / 0.7305 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.925e-05/0.2062, allocations: 19.86 kB / 0.7305 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.2062, allocations: 8 kB / 0.7305 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.2063, allocations: 3.938 kB / 0.7305 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.2063, allocations: 7.984 kB / 0.7305 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.2063, allocations: 0 / 0.7305 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.2064, allocations: 39.95 kB / 0.7306 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.2064, allocations: 15.98 kB / 0.7306 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.2065, allocations: 3.938 kB / 0.7306 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.2066, allocations: 36.17 kB / 0.7306 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2066, allocations: 0 / 0.7306 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2066, allocations: 0 / 0.7306 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.108e-06/0.2066, allocations: 0 / 0.7306 GB, free: 15.71 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003726/0.207, allocations: 254.3 kB / 0.7309 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.207, allocations: 12.03 kB / 0.7309 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.226e-05/0.207, allocations: 192 / 0.7309 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.776e-05/0.2071, allocations: 38.69 kB / 0.7309 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.2074, allocations: 28.83 kB / 0.7309 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2075, allocations: 102.5 kB / 0.731 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2075, allocations: 4.375 kB / 0.731 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.2075, allocations: 7.922 kB / 0.7311 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.2077, allocations: 45.67 kB / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2077, allocations: 0 / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.2077, allocations: 0 / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2077, allocations: 4 kB / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.2078, allocations: 23.98 kB / 0.7311 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.208, allocations: 128.7 kB / 0.7312 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.2081, allocations: 46.47 kB / 0.7313 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.2082, allocations: 24.84 kB / 0.7313 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.2082, allocations: 4 kB / 0.7313 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.2082, allocations: 30.56 kB / 0.7313 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2082, allocations: 0 / 0.7313 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002664/0.2085, allocations: 65.67 kB / 0.7314 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.2085, allocations: 59.34 kB / 0.7315 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.2086, allocations: 97.84 kB / 0.7316 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2086, allocations: 29.83 kB / 0.7316 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.2087, allocations: 80.14 kB / 0.7317 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.2087, allocations: 7.953 kB / 0.7317 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.2087, allocations: 13.72 kB / 0.7317 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2089, allocations: 314.8 kB / 0.732 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.2089, allocations: 12 kB / 0.732 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.209, allocations: 11.98 kB / 0.732 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.2091, allocations: 28.91 kB / 0.732 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2091, allocations: 0 / 0.732 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001728/0.2093, allocations: 69.56 kB / 0.7321 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2093, allocations: 7.938 kB / 0.7321 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.2093, allocations: 0 / 0.7321 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2093, allocations: 0 / 0.7321 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2094, allocations: 11.98 kB / 0.7321 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2094, allocations: 32 / 0.7321 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.2095, allocations: 4 kB / 0.7321 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.2095, allocations: 7.938 kB / 0.7321 GB, free: 13.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 7.897e-05/0.2096, allocations: 113.7 kB / 0.7322 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.2096, allocations: 4 kB / 0.7322 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.2096, allocations: 7.484 kB / 0.7323 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2096, allocations: 4 kB / 0.7323 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2096, allocations: 3.984 kB / 0.7323 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2096, allocations: 0 / 0.7323 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.2098, allocations: 136.7 kB / 0.7324 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2098, allocations: 0 / 0.7324 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.982e-05/0.2098, allocations: 7.984 kB / 0.7324 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2098, allocations: 4 kB / 0.7324 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.2098, allocations: 0 / 0.7324 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2098, allocations: 0 / 0.7324 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2098, allocations: 0 / 0.7324 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.21, allocations: 92.98 kB / 0.7325 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.21, allocations: 3.953 kB / 0.7325 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.2101, allocations: 0 / 0.7325 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.199e-05/0.2101, allocations: 4 kB / 0.7325 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.2101, allocations: 3.984 kB / 0.7325 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.2101, allocations: 7.938 kB / 0.7325 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.2102, allocations: 79.28 kB / 0.7326 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2102, allocations: 0 / 0.7326 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001832/0.2104, allocations: 8 kB / 0.7326 GB, free: 13.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0004847/0.2109, allocations: 0.6163 MB / 0.7332 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001649/0.211, allocations: 31.91 kB / 0.7332 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.211, allocations: 4.094 kB / 0.7332 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.137e-05/0.2111, allocations: 15.98 kB / 0.7332 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.2113, allocations: 6.062 kB / 0.7332 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2128, allocations: 1.182 MB / 0.7344 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2131, allocations: 0.6729 MB / 0.7351 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.867e-05/0.2132, allocations: 7.984 kB / 0.7351 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.2132, allocations: 11.44 kB / 0.7351 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.2132, allocations: 4 kB / 0.7351 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.2334, allocations: 1.601 MB / 0.7366 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.46, allocations: 20.3 kB / 0.7367 GB, free: 9.281 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.322155705012847] Failed to read output from testmodel.py, exit status != 0: 11.621253660996445 11.639123249 11.42935155 Calling exit ...