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.001937/0.001937, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.00148/0.00148, allocations: 166 kB / 22.46 MB, free: 5.355 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.464/1.464, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.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.002548/0.002548, allocations: 238.1 kB / 259.4 MB, free: 488 kB / 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.096/1.096, allocations: 138.4 MB / 454.3 MB, free: 2.004 MB / 366.1 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.934e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002473/0.002503, allocations: 1.29 MB / 0.648 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003078/0.00281, allocations: 107.5 kB / 0.6481 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.002844, allocations: 0 / 0.6481 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.002863, allocations: 0 / 0.6481 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.759e-05/0.002921, allocations: 4 kB / 0.6481 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.003141, allocations: 43.81 kB / 0.6482 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.607e-05/0.003197, allocations: 11.94 kB / 0.6482 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.003244, allocations: 3.984 kB / 0.6482 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.003277, allocations: 11.94 kB / 0.6482 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.003329, allocations: 7.984 kB / 0.6482 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.003343, allocations: 0 / 0.6482 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.003482, allocations: 47.94 kB / 0.6483 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.003498, allocations: 7.938 kB / 0.6483 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.003519, allocations: 4 kB / 0.6483 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.003656, allocations: 47.86 kB / 0.6483 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.00366, allocations: 3.938 kB / 0.6483 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003661, allocations: 0 / 0.6483 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.003671, allocations: 0 / 0.6483 GB, free: 3.445 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.0004134/0.004084, allocations: 258.3 kB / 0.6486 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.004123, allocations: 9.344 kB / 0.6486 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.004152, allocations: 0.9375 kB / 0.6486 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.0043, allocations: 109.8 kB / 0.6487 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.004307, allocations: 4.375 kB / 0.6487 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.004321, allocations: 384 / 0.6487 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.543e-05/0.004407, allocations: 35.56 kB / 0.6487 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.004418, allocations: 3.938 kB / 0.6487 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.004428, allocations: 3.984 kB / 0.6487 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.004434, allocations: 3.984 kB / 0.6487 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.142e-05/0.004466, allocations: 4 kB / 0.6487 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.004628, allocations: 101.3 kB / 0.6488 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.292e-05/0.00469, allocations: 22.55 kB / 0.6489 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.004708, allocations: 8.922 kB / 0.6489 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004868/0.005195, allocations: 99.83 kB / 0.649 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.005219, allocations: 30.56 kB / 0.649 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.00522, allocations: 0 / 0.649 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001491/0.005369, allocations: 49.58 kB / 0.649 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.005408, allocations: 51.41 kB / 0.6491 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/0.005486, allocations: 97.84 kB / 0.6492 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.005503, allocations: 29.7 kB / 0.6492 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.005544, allocations: 80.14 kB / 0.6493 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.005566, allocations: 12.08 kB / 0.6493 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.005594, allocations: 9.719 kB / 0.6493 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.005726, allocations: 322.8 kB / 0.6496 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.00574, allocations: 4 kB / 0.6496 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.182e-05/0.005752, allocations: 4 kB / 0.6496 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.005781, allocations: 8.859 kB / 0.6496 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.005782, allocations: 0 / 0.6496 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.924e-05/0.005851, allocations: 41.64 kB / 0.6497 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.005865, allocations: 8 kB / 0.6497 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.00587, allocations: 8.078 kB / 0.6497 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.005888, allocations: 7.875 kB / 0.6497 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.005936, allocations: 4 kB / 0.6497 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.005941, allocations: 0 / 0.6497 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.005959, allocations: 0 / 0.6497 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.005962, allocations: 0 / 0.6497 GB, free: 1.871 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.106e-05/0.006034, allocations: 105.8 kB / 0.6498 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.006048, allocations: 11.95 kB / 0.6498 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.224e-05/0.00614, allocations: 45 kB / 0.6499 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.006146, allocations: 3.938 kB / 0.6499 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.006149, allocations: 4.031 kB / 0.6499 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.006151, allocations: 0 / 0.6499 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.61e-05/0.006237, allocations: 97.33 kB / 0.65 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.006242, allocations: 11.92 kB / 0.65 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.006266, allocations: 4 kB / 0.65 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.006268, allocations: 0 / 0.65 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.006272, allocations: 0 / 0.65 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.006274, allocations: 0 / 0.65 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.006276, allocations: 11.88 kB / 0.65 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.203e-05/0.006358, allocations: 61.12 kB / 0.65 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.006368, allocations: 4.031 kB / 0.65 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.006378, allocations: 4 kB / 0.6501 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.677e-05/0.006395, allocations: 0 / 0.6501 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.006413, allocations: 3.938 kB / 0.6501 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.006415, allocations: 0 / 0.6501 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.006461, allocations: 83.28 kB / 0.6501 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.006461, allocations: 0 / 0.6501 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002221/0.006683, allocations: 19.92 kB / 0.6502 GB, free: 1.344 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.0001815/0.006865, allocations: 111.1 kB / 0.6503 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.544e-05/0.00694, allocations: 15.98 kB / 0.6503 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006942, allocations: 0 / 0.6503 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.479e-05/0.006957, allocations: 8 kB / 0.6503 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.007183, allocations: 6.656 kB / 0.6503 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.007453, allocations: 104.8 kB / 0.6504 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.926e-05/0.007502, allocations: 63.28 kB / 0.6504 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.00753, allocations: 8.125 kB / 0.6505 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.007548, allocations: 8.5 kB / 0.6505 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.007549, allocations: 0 / 0.6505 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of Templates: time 0.003232/0.01078, allocations: 0.6466 MB / 0.6511 GB, free: 340 kB / 0.5606 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: 6.178569097071886] Failed to read output from testmodel.py, exit status != 0: 0.29101594164967537 0.305010471 0.298005672 Calling exit ...