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.00641/0.00641, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001248/0.001249, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003898/0.003898, allocations: 294.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9625/0.9625, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 91.84 kB / 0.6814 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5053, allocations: 86.98 MB / 0.7664 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002883/0.5082, allocations: 1.257 MB / 0.7676 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003869/0.5086, allocations: 119.5 kB / 0.7677 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.5087, allocations: 4 kB / 0.7677 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.5087, allocations: 3.938 kB / 0.7677 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.022e-05/0.5088, allocations: 3.984 kB / 0.7677 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.5091, allocations: 43.83 kB / 0.7678 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.5092, allocations: 15.92 kB / 0.7678 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.693e-05/0.5093, allocations: 0 / 0.7678 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.5093, allocations: 4 kB / 0.7678 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.5094, allocations: 15.92 kB / 0.7678 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.5094, allocations: 4 kB / 0.7678 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.5096, allocations: 51.94 kB / 0.7679 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.5096, allocations: 0 / 0.7679 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.5097, allocations: 15.92 kB / 0.7679 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.5098, allocations: 31.75 kB / 0.7679 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5098, allocations: 0 / 0.7679 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5098, allocations: 0 / 0.7679 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.5099, allocations: 4 kB / 0.7679 GB, free: 2.492 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.0004595/0.5103, allocations: 331.6 kB / 0.7682 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.5104, allocations: 8.031 kB / 0.7682 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.5104, allocations: 8.844 kB / 0.7682 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.5106, allocations: 160.4 kB / 0.7684 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.5106, allocations: 384 / 0.7684 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.5106, allocations: 384 / 0.7684 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.178e-05/0.5107, allocations: 41.56 kB / 0.7684 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.5107, allocations: 0 / 0.7684 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5108, allocations: 0 / 0.7684 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5108, allocations: 4 kB / 0.7684 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.601e-05/0.5108, allocations: 8 kB / 0.7684 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.511, allocations: 153.7 kB / 0.7686 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.444e-05/0.5111, allocations: 26.61 kB / 0.7686 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.5111, allocations: 8.797 kB / 0.7686 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/0.5119, allocations: 0.6091 MB / 0.7692 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.5119, allocations: 42.5 kB / 0.7693 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5119, allocations: 3.938 kB / 0.7693 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001669/0.5121, allocations: 37.7 kB / 0.7693 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.5121, allocations: 51.41 kB / 0.7694 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.5122, allocations: 101.8 kB / 0.7695 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.5123, allocations: 25.7 kB / 0.7695 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.5123, allocations: 80.14 kB / 0.7696 GB, free: 496 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.5123, allocations: 6.438 kB / 0.7696 GB, free: 492 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.5124, allocations: 21.84 kB / 0.7696 GB, free: 464 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5125, allocations: 310.8 kB / 0.7699 GB, free: 144 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.5125, allocations: 4 kB / 0.7699 GB, free: 140 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.027e-05/0.5126, allocations: 3.984 kB / 0.7699 GB, free: 136 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.5126, allocations: 24.8 kB / 0.7699 GB, free: 108 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5126, allocations: 0 / 0.7699 GB, free: 108 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.694e-05/0.5127, allocations: 37.64 kB / 0.7699 GB, free: 64 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.5127, allocations: 8.094 kB / 0.77 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5127, allocations: 4 kB / 0.77 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.5127, allocations: 0 / 0.77 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/0.5128, allocations: 4 kB / 0.77 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5128, allocations: 3.984 kB / 0.77 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.006e-05/0.5128, allocations: 4 kB / 0.77 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-06/0.5129, allocations: 4 kB / 0.77 GB, free: 36 kB / 0.5294 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.686e-05/0.513, allocations: 108.2 kB / 0.7701 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.513, allocations: 7.844 kB / 0.7701 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.5131, allocations: 56.75 kB / 0.7701 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5131, allocations: 0 / 0.7701 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5131, allocations: 0 / 0.7701 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5131, allocations: 0 / 0.7701 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.5132, allocations: 153.7 kB / 0.7703 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5133, allocations: 3.938 kB / 0.7703 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.5133, allocations: 4 kB / 0.7703 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5133, allocations: 192 / 0.7703 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.5133, allocations: 0 / 0.7703 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5133, allocations: 3.938 kB / 0.7703 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5133, allocations: 32 / 0.7703 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.777e-05/0.5134, allocations: 73.05 kB / 0.7704 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.5135, allocations: 85.05 kB / 0.7704 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.5135, allocations: 0 / 0.7704 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.599e-05/0.5135, allocations: 0 / 0.7704 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.5135, allocations: 0 / 0.7704 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.5135, allocations: 4 kB / 0.7704 GB, free: 15.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.134e-05/0.5136, allocations: 83.3 kB / 0.7705 GB, free: 15.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5136, allocations: 0 / 0.7705 GB, free: 15.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002135/0.5138, allocations: 19.94 kB / 0.7705 GB, free: 15.35 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.0002078/0.514, allocations: 115.2 kB / 0.7707 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.311e-05/0.5141, allocations: 7.984 kB / 0.7707 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5141, allocations: 0 / 0.7707 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.528e-05/0.5142, allocations: 7.938 kB / 0.7707 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.5144, allocations: 18.72 kB / 0.7707 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.5147, allocations: 102.2 kB / 0.7708 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.5151, allocations: 0.6768 MB / 0.7714 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.5151, allocations: 0 / 0.7714 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.5151, allocations: 7.438 kB / 0.7715 GB, free: 14.35 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.5151, allocations: 4 kB / 0.7715 GB, free: 14.35 MB / 0.545 GB Notification: Performance of Templates: time 0.003866/0.519, allocations: 0.6025 MB / 0.772 GB, free: 13.75 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)