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.00134/0.001341, allocations: 110.2 kB / 16.41 MB, free: 6.465 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.001307/0.001308, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002661/0.002661, allocations: 290.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.038/1.038, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002905/0.002905, allocations: 103.8 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3958, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002278/0.3982, allocations: 1.293 MB / 0.7683 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005785/0.3988, allocations: 302.9 kB / 0.7686 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.3988, allocations: 0 / 0.7686 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.3988, allocations: 3.938 kB / 0.7686 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.41e-05/0.3989, allocations: 15.92 kB / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.3992, allocations: 75.7 kB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.02e-05/0.3993, allocations: 35.86 kB / 0.7687 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.3994, allocations: 3.984 kB / 0.7687 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3995, allocations: 35.92 kB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/0.3995, allocations: 11.92 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.3995, allocations: 0 / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.3997, allocations: 83.91 kB / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.3997, allocations: 0 / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.3998, allocations: 11.92 kB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.3999, allocations: 85.41 kB / 0.769 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3999, allocations: 0 / 0.769 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4, allocations: 7.938 kB / 0.769 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.4, allocations: 0 / 0.769 GB, free: 1.949 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.0004344/0.4004, allocations: 355.2 kB / 0.7693 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4004, allocations: 12.03 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.4005, allocations: 4.922 kB / 0.7693 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.4006, allocations: 172.3 kB / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.4007, allocations: 384 / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.4007, allocations: 384 / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.4008, allocations: 49.62 kB / 0.7695 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4008, allocations: 0 / 0.7695 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.4008, allocations: 0 / 0.7695 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.4008, allocations: 0 / 0.7695 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.987e-05/0.4009, allocations: 8 kB / 0.7695 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.4011, allocations: 161.7 kB / 0.7697 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.066e-05/0.4011, allocations: 38.5 kB / 0.7697 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.4012, allocations: 8.922 kB / 0.7697 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.4025, allocations: 1.191 MB / 0.7709 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.4025, allocations: 30.56 kB / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4025, allocations: 0 / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001658/0.4027, allocations: 53.69 kB / 0.771 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.4027, allocations: 55.34 kB / 0.771 GB, free: 15.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.4028, allocations: 117.8 kB / 0.7711 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.4029, allocations: 25.7 kB / 0.7712 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.4029, allocations: 80.14 kB / 0.7712 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.4029, allocations: 15.89 kB / 0.7713 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.403, allocations: 17.72 kB / 0.7713 GB, free: 15.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4031, allocations: 310.8 kB / 0.7716 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.4032, allocations: 8 kB / 0.7716 GB, free: 14.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.4032, allocations: 4 kB / 0.7716 GB, free: 14.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.4032, allocations: 17.12 kB / 0.7716 GB, free: 14.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4032, allocations: 0 / 0.7716 GB, free: 14.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.948e-05/0.4033, allocations: 49.62 kB / 0.7716 GB, free: 14.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4033, allocations: 15.92 kB / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4034, allocations: 0 / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4034, allocations: 0 / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.807e-05/0.4034, allocations: 7.938 kB / 0.7717 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.4034, allocations: 0 / 0.7717 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.4035, allocations: 7.938 kB / 0.7717 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.4035, allocations: 4 kB / 0.7717 GB, free: 14.68 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 8.172e-05/0.4036, allocations: 112.2 kB / 0.7718 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.4036, allocations: 11.89 kB / 0.7718 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.4037, allocations: 53.58 kB / 0.7719 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4037, allocations: 4 kB / 0.7719 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4038, allocations: 4 kB / 0.7719 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.4038, allocations: 0 / 0.7719 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.4039, allocations: 153.7 kB / 0.772 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4039, allocations: 3.938 kB / 0.772 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.404, allocations: 11.94 kB / 0.772 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.404, allocations: 0 / 0.772 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.404, allocations: 4 kB / 0.772 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.404, allocations: 0 / 0.772 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.404, allocations: 0 / 0.772 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.4041, allocations: 77.08 kB / 0.7721 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.4042, allocations: 85.03 kB / 0.7722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.4042, allocations: 4 kB / 0.7722 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.4042, allocations: 0 / 0.7722 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.4043, allocations: 7.984 kB / 0.7722 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.4043, allocations: 4 kB / 0.7722 GB, free: 14.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.876e-05/0.4043, allocations: 79.28 kB / 0.7723 GB, free: 13.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4043, allocations: 0 / 0.7723 GB, free: 13.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002455/0.4046, allocations: 35.86 kB / 0.7723 GB, free: 13.94 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.0001875/0.4048, allocations: 135.1 kB / 0.7724 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.87e-05/0.4049, allocations: 11.94 kB / 0.7724 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4049, allocations: 0 / 0.7724 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.238e-05/0.4049, allocations: 15.98 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.0001759/0.4051, allocations: 12.44 kB / 0.7725 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.4054, allocations: 122 kB / 0.7726 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.4057, allocations: 0.6846 MB / 0.7733 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.519e-05/0.4057, allocations: 0 / 0.7733 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.4058, allocations: 11.44 kB / 0.7733 GB, free: 12.89 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.4058, allocations: 0 / 0.7733 GB, free: 12.89 MB / 0.545 GB Notification: Performance of Templates: time 0.003395/0.4092, allocations: 0.8077 MB / 0.7741 GB, free: 12.09 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)