Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001286/0.001286, allocations: 184 kB / 17.34 MB, free: 5.738 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.528/1.528, allocations: 222.9 MB / 241 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.002692/0.002692, allocations: 282.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.074/1.074, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 107.8 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4902, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002458/0.4927, allocations: 1.291 MB / 0.7683 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006349/0.4933, allocations: 306.9 kB / 0.7686 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.4933, allocations: 0 / 0.7686 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.4934, allocations: 3.938 kB / 0.7686 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.4935, allocations: 15.92 kB / 0.7686 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.4938, allocations: 75.72 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.118e-05/0.4939, allocations: 35.84 kB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.4939, allocations: 0 / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.4941, allocations: 35.91 kB / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.4941, allocations: 11.92 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.4941, allocations: 0 / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.4943, allocations: 87.91 kB / 0.7689 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.4943, allocations: 0 / 0.7689 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.4944, allocations: 11.94 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.4945, allocations: 79.16 kB / 0.769 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.4945, allocations: 0 / 0.769 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4945, allocations: 0 / 0.769 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4945, allocations: 0 / 0.769 GB, free: 1.965 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005637/0.4951, allocations: 369.3 kB / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4951, allocations: 16.03 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.4952, allocations: 0.9375 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.4953, allocations: 172.3 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4954, allocations: 4.312 kB / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.4954, allocations: 384 / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.4955, allocations: 45.62 kB / 0.7695 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4955, allocations: 0 / 0.7695 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4955, allocations: 0 / 0.7695 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.4955, allocations: 0 / 0.7695 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.423e-05/0.4956, allocations: 15.98 kB / 0.7695 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.4957, allocations: 157.7 kB / 0.7697 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.4959, allocations: 34.52 kB / 0.7697 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.4959, allocations: 16.89 kB / 0.7697 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/0.4973, allocations: 1.187 MB / 0.7709 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.4974, allocations: 30.56 kB / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4974, allocations: 4 kB / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001956/0.4976, allocations: 45.69 kB / 0.771 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.4976, allocations: 51.41 kB / 0.771 GB, free: 15.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.4977, allocations: 117.8 kB / 0.7711 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.4977, allocations: 29.64 kB / 0.7712 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.4978, allocations: 84.14 kB / 0.7713 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.4978, allocations: 7.906 kB / 0.7713 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.4979, allocations: 17.72 kB / 0.7713 GB, free: 15.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.498, allocations: 314.8 kB / 0.7716 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.4981, allocations: 0 / 0.7716 GB, free: 14.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.4981, allocations: 7.984 kB / 0.7716 GB, free: 14.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.4981, allocations: 16.86 kB / 0.7716 GB, free: 14.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4981, allocations: 0 / 0.7716 GB, free: 14.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.828e-05/0.4982, allocations: 53.62 kB / 0.7717 GB, free: 14.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4982, allocations: 4 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.4982, allocations: 8 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4982, allocations: 0 / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.4983, allocations: 11.88 kB / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.4983, allocations: 0 / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.4983, allocations: 3.938 kB / 0.7717 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.4983, allocations: 0 / 0.7717 GB, free: 14.69 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 (3): * Single equations (assignments): 3 * 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 0.0001175/0.4985, allocations: 116.2 kB / 0.7718 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.4985, allocations: 15.88 kB / 0.7718 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.4987, allocations: 53.59 kB / 0.7719 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4987, allocations: 0 / 0.7719 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4987, allocations: 0 / 0.7719 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4987, allocations: 3.938 kB / 0.7719 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.4988, allocations: 161.7 kB / 0.772 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.4988, allocations: 3.938 kB / 0.772 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.4989, allocations: 11.92 kB / 0.772 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4989, allocations: 4 kB / 0.772 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.4989, allocations: 4 kB / 0.772 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4989, allocations: 0 / 0.772 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4989, allocations: 0 / 0.772 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.499, allocations: 69.45 kB / 0.7721 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.4991, allocations: 85.05 kB / 0.7722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4991, allocations: 0 / 0.7722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/0.4991, allocations: 11.98 kB / 0.7722 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.4992, allocations: 4.047 kB / 0.7722 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.4992, allocations: 3.984 kB / 0.7722 GB, free: 14.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.4992, allocations: 83.28 kB / 0.7723 GB, free: 13.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4992, allocations: 0 / 0.7723 GB, free: 13.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000235/0.4995, allocations: 35.86 kB / 0.7723 GB, free: 13.93 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 (3): * Single equations (assignments): 3 * 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.0002484/0.4997, allocations: 123.2 kB / 0.7724 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.4998, allocations: 19.92 kB / 0.7725 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4998, allocations: 0 / 0.7725 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.915e-05/0.4999, allocations: 12 kB / 0.7725 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.5001, allocations: 8.875 kB / 0.7725 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.5005, allocations: 114.1 kB / 0.7726 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.501, allocations: 0.6884 MB / 0.7733 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.501, allocations: 8.547 kB / 0.7733 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.501, allocations: 7.438 kB / 0.7733 GB, free: 12.89 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.501, allocations: 4 kB / 0.7733 GB, free: 12.89 MB / 0.545 GB Notification: Performance of Templates: time 0.003922/0.505, allocations: 0.797 MB / 0.7741 GB, free: 12.1 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)