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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 105.5 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002313/0.002313, allocations: 298.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9643/0.9643, allocations: 169.3 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 91.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.498, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002707/0.5008, allocations: 1.258 MB / 0.7683 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003552/0.5012, allocations: 123.5 kB / 0.7684 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.5012, allocations: 0 / 0.7684 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.5012, allocations: 0 / 0.7684 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.5014, allocations: 3.938 kB / 0.7684 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.5016, allocations: 35.89 kB / 0.7684 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.5017, allocations: 31.91 kB / 0.7685 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.5017, allocations: 0 / 0.7685 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.5018, allocations: 4 kB / 0.7685 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.942e-05/0.5018, allocations: 7.938 kB / 0.7685 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.5019, allocations: 0 / 0.7685 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.502, allocations: 51.94 kB / 0.7685 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.5021, allocations: 0 / 0.7685 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.5021, allocations: 11.92 kB / 0.7685 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.5022, allocations: 39.59 kB / 0.7686 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5022, allocations: 0 / 0.7686 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5022, allocations: 4 kB / 0.7686 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.5023, allocations: 4 kB / 0.7686 GB, free: 2.34 MB / 0.5294 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.000432/0.5027, allocations: 327.5 kB / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5028, allocations: 8.031 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.5028, allocations: 8.844 kB / 0.7689 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.503, allocations: 164.3 kB / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.503, allocations: 384 / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.503, allocations: 384 / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.892e-05/0.5031, allocations: 45.62 kB / 0.7691 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.5031, allocations: 0 / 0.7691 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.5031, allocations: 0 / 0.7691 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5031, allocations: 0 / 0.7691 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.073e-05/0.5032, allocations: 4 kB / 0.7691 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.5034, allocations: 153.7 kB / 0.7693 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.264e-05/0.5034, allocations: 26.55 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.5034, allocations: 12.8 kB / 0.7693 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007561/0.5042, allocations: 0.6169 MB / 0.7699 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.5043, allocations: 30.56 kB / 0.7699 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5043, allocations: 0 / 0.7699 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001692/0.5044, allocations: 41.7 kB / 0.77 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.5045, allocations: 51.41 kB / 0.77 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.5046, allocations: 97.84 kB / 0.7701 GB, free: 464 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.5046, allocations: 33.83 kB / 0.7701 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.5046, allocations: 80.14 kB / 0.7702 GB, free: 340 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.5047, allocations: 10.38 kB / 0.7702 GB, free: 332 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.5047, allocations: 13.72 kB / 0.7702 GB, free: 312 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5049, allocations: 314.8 kB / 0.7705 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.5049, allocations: 4 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.5049, allocations: 3.984 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.5049, allocations: 24.92 kB / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5049, allocations: 0 / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.993e-05/0.505, allocations: 41.64 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.505, allocations: 4 kB / 0.7706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5051, allocations: 0 / 0.7706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.5051, allocations: 0 / 0.7706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.319e-05/0.5051, allocations: 7.938 kB / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5051, allocations: 3.984 kB / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.5052, allocations: 0 / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.5052, allocations: 4 kB / 0.7706 GB, free: 15.89 MB / 0.545 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.275e-05/0.5053, allocations: 112.3 kB / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.5053, allocations: 7.844 kB / 0.7707 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.5054, allocations: 48.81 kB / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5054, allocations: 4 kB / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5054, allocations: 0 / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5054, allocations: 3.938 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.5055, allocations: 149.7 kB / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5055, allocations: 3.938 kB / 0.7709 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.5056, allocations: 4 kB / 0.7709 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5056, allocations: 4.031 kB / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.5056, allocations: 0 / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5056, allocations: 7.875 kB / 0.771 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.5056, allocations: 0 / 0.771 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.012e-05/0.5057, allocations: 61.12 kB / 0.771 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.5057, allocations: 85.05 kB / 0.7711 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.5058, allocations: 0 / 0.7711 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.5058, allocations: 8.031 kB / 0.7711 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.5058, allocations: 0 / 0.7711 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.5058, allocations: 0 / 0.7711 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.443e-05/0.5059, allocations: 79.28 kB / 0.7712 GB, free: 15.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5059, allocations: 0 / 0.7712 GB, free: 15.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002132/0.5061, allocations: 19.92 kB / 0.7712 GB, free: 15.2 MB / 0.545 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.0001759/0.5063, allocations: 115.2 kB / 0.7713 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.783e-05/0.5064, allocations: 15.92 kB / 0.7713 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5064, allocations: 4.062 kB / 0.7713 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.126e-05/0.5064, allocations: 4 kB / 0.7713 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.5066, allocations: 7.938 kB / 0.7713 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.507, allocations: 131.9 kB / 0.7715 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.5073, allocations: 0.6768 MB / 0.7721 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.5073, allocations: 7.438 kB / 0.7721 GB, free: 14.17 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.5073, allocations: 4 kB / 0.7721 GB, free: 14.17 MB / 0.545 GB Notification: Performance of Templates: time 0.002243/0.5096, allocations: 0.6062 MB / 0.7727 GB, free: 13.57 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (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)