Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001471/0.001471, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001852/0.001852, allocations: 221 kB / 23 MB, free: 4.918 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002842/0.002842, allocations: 296.3 kB / 313.5 MB, free: 2.727 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.353/1.353, allocations: 180.6 MB / 0.5377 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002981/0.002981, allocations: 97.73 kB / 0.7407 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2192, allocations: 95.38 MB / 0.8339 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002705/0.2219, allocations: 1.287 MB / 0.8351 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003547/0.2223, allocations: 107.6 kB / 0.8352 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.2223, allocations: 0 / 0.8352 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.2223, allocations: 3.984 kB / 0.8352 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.2224, allocations: 7.875 kB / 0.8352 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.2227, allocations: 47.83 kB / 0.8353 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.26e-05/0.2227, allocations: 11.94 kB / 0.8353 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.2228, allocations: 0 / 0.8353 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.2228, allocations: 8 kB / 0.8353 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.2229, allocations: 11.92 kB / 0.8353 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.2229, allocations: 0 / 0.8353 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.223, allocations: 43.95 kB / 0.8353 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.223, allocations: 11.91 kB / 0.8354 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.2231, allocations: 8 kB / 0.8354 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.2232, allocations: 35.83 kB / 0.8354 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.2232, allocations: 4 kB / 0.8354 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2232, allocations: 4 kB / 0.8354 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.2232, allocations: 0 / 0.8354 GB, free: 6.277 MB / 0.5762 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.0004598/0.2237, allocations: 250.3 kB / 0.8356 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2237, allocations: 13.94 kB / 0.8357 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.2238, allocations: 0.9375 kB / 0.8357 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.2239, allocations: 106.5 kB / 0.8358 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2239, allocations: 8.375 kB / 0.8358 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.2239, allocations: 4.375 kB / 0.8358 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.645e-05/0.224, allocations: 37.62 kB / 0.8358 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.224, allocations: 0 / 0.8358 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.224, allocations: 0 / 0.8358 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.224, allocations: 3.938 kB / 0.8358 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.332e-05/0.2241, allocations: 7.938 kB / 0.8358 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.2243, allocations: 101.3 kB / 0.8359 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.664e-05/0.2243, allocations: 22.59 kB / 0.8359 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.2243, allocations: 12.92 kB / 0.836 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/0.2248, allocations: 83.92 kB / 0.836 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.2249, allocations: 34.5 kB / 0.8361 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2249, allocations: 0 / 0.8361 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001653/0.225, allocations: 45.62 kB / 0.8361 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.2251, allocations: 55.41 kB / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2252, allocations: 101.8 kB / 0.8363 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2252, allocations: 25.7 kB / 0.8363 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.2252, allocations: 80.14 kB / 0.8364 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.2253, allocations: 3.953 kB / 0.8364 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.2253, allocations: 21.83 kB / 0.8364 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2255, allocations: 314.8 kB / 0.8367 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.2255, allocations: 7.938 kB / 0.8367 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-06/0.2255, allocations: 0 / 0.8367 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.67e-05/0.2255, allocations: 16.86 kB / 0.8367 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2255, allocations: 0 / 0.8367 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.998e-05/0.2256, allocations: 41.62 kB / 0.8367 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2256, allocations: 7.938 kB / 0.8368 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2256, allocations: 0 / 0.8368 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2256, allocations: 4 kB / 0.8368 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.174e-05/0.2257, allocations: 4.094 kB / 0.8368 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2257, allocations: 0 / 0.8368 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.2257, allocations: 4 kB / 0.8368 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.2257, allocations: 0 / 0.8368 GB, free: 4.715 MB / 0.5762 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 9.864e-05/0.2258, allocations: 110.5 kB / 0.8369 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.2258, allocations: 3.938 kB / 0.8369 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.2259, allocations: 52.94 kB / 0.8369 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2259, allocations: 0 / 0.8369 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.226, allocations: 0 / 0.8369 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.226, allocations: 0 / 0.8369 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.2261, allocations: 117.3 kB / 0.837 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2261, allocations: 0 / 0.837 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.2261, allocations: 4 kB / 0.837 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.2261, allocations: 0 / 0.837 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2261, allocations: 3.938 kB / 0.837 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2261, allocations: 0 / 0.837 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2261, allocations: 0 / 0.837 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.2262, allocations: 69.12 kB / 0.8371 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.2262, allocations: 3.938 kB / 0.8371 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2262, allocations: 3.938 kB / 0.8371 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.534e-05/0.2262, allocations: 8.031 kB / 0.8371 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.2262, allocations: 3.938 kB / 0.8371 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.2262, allocations: 0 / 0.8371 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.857e-05/0.2263, allocations: 83.27 kB / 0.8372 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2263, allocations: 0 / 0.8372 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000201/0.2265, allocations: 15.94 kB / 0.8372 GB, free: 4.176 MB / 0.5762 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.0001992/0.2267, allocations: 111.2 kB / 0.8373 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.28e-05/0.2268, allocations: 11.94 kB / 0.8373 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.2268, allocations: 4 kB / 0.8373 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-06/0.2268, allocations: 4.062 kB / 0.8374 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.227, allocations: 4.516 kB / 0.8374 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.2274, allocations: 135.9 kB / 0.8375 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.846e-05/0.2274, allocations: 59.34 kB / 0.8375 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.2275, allocations: 11.44 kB / 0.8376 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.2275, allocations: 0 / 0.8376 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of Templates: time 0.002376/0.2298, allocations: 0.6194 MB / 0.8382 GB, free: 3.164 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.012347395066172] Failed to read output from testmodel.py, exit status != 0: 0.23830590164288878 0.253754009 0.027439336 Calling exit ...