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.001349/0.001349, allocations: 104.8 kB / 16.4 MB, free: 6.461 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.001287/0.001287, allocations: 192 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.507/1.507, 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.002843/0.002843, allocations: 292.6 kB / 291.5 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 1.097/1.097, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 99.83 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5041/0.5069, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002514/0.5094, allocations: 1.254 MB / 0.7683 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003013/0.5097, allocations: 119.5 kB / 0.7684 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.5097, allocations: 0 / 0.7684 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.5098, allocations: 3.938 kB / 0.7684 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.202e-05/0.5098, allocations: 4 kB / 0.7684 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.51, allocations: 39.89 kB / 0.7684 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.5101, allocations: 15.92 kB / 0.7685 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.5101, allocations: 7.938 kB / 0.7685 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.899e-05/0.5102, allocations: 4 kB / 0.7685 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.5102, allocations: 7.922 kB / 0.7685 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.5102, allocations: 0 / 0.7685 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.5103, allocations: 55.94 kB / 0.7685 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.5104, allocations: 4 kB / 0.7685 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.5104, allocations: 7.938 kB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.5105, allocations: 39.73 kB / 0.7686 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5105, allocations: 0 / 0.7686 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5105, allocations: 0 / 0.7686 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.5105, allocations: 0 / 0.7686 GB, free: 2.375 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.0004481/0.511, allocations: 337.2 kB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.511, allocations: 8.031 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.511, allocations: 0.9375 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.5112, allocations: 172.4 kB / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.5112, allocations: 4.312 kB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.5112, allocations: 384 / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.334e-05/0.5113, allocations: 33.64 kB / 0.7691 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.5113, allocations: 0 / 0.7691 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.5113, allocations: 0 / 0.7691 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5113, allocations: 7.922 kB / 0.7691 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.066e-05/0.5113, allocations: 4 kB / 0.7691 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.5115, allocations: 161.7 kB / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.889e-05/0.5116, allocations: 22.58 kB / 0.7693 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.5116, allocations: 12.86 kB / 0.7693 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008072/0.5124, allocations: 0.6051 MB / 0.7699 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.5125, allocations: 38.56 kB / 0.7699 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5125, allocations: 0 / 0.7699 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000149/0.5126, allocations: 49.58 kB / 0.77 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.5127, allocations: 51.41 kB / 0.77 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.5128, allocations: 97.86 kB / 0.7701 GB, free: 488 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.5128, allocations: 25.7 kB / 0.7701 GB, free: 456 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.5128, allocations: 84.14 kB / 0.7702 GB, free: 368 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.5129, allocations: 3.938 kB / 0.7702 GB, free: 364 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.5129, allocations: 17.7 kB / 0.7702 GB, free: 340 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.513, allocations: 319 kB / 0.7705 GB, free: 12 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.5131, allocations: 0 / 0.7705 GB, free: 12 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.021e-05/0.5131, allocations: 4 kB / 0.7706 GB, free: 8 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.88e-05/0.5131, allocations: 16.8 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5131, allocations: 0 / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.106e-05/0.5132, allocations: 45.58 kB / 0.7706 GB, free: 15.94 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.5132, allocations: 8 kB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5132, allocations: 0 / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5132, allocations: 0 / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.5133, allocations: 8.094 kB / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.5133, allocations: 0 / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.5133, allocations: 4 kB / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.5133, allocations: 3.984 kB / 0.7706 GB, free: 15.91 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 8.512e-05/0.5134, allocations: 109.8 kB / 0.7707 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.5134, allocations: 7.938 kB / 0.7707 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.936e-05/0.5135, allocations: 48.75 kB / 0.7708 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5135, allocations: 0 / 0.7708 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5135, allocations: 4.031 kB / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5135, allocations: 0 / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.5136, allocations: 153.7 kB / 0.7709 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5136, allocations: 3.938 kB / 0.7709 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.5137, allocations: 4 kB / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.5137, allocations: 3.938 kB / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.5137, allocations: 0 / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5137, allocations: 3.938 kB / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5137, allocations: 0 / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.815e-05/0.5137, allocations: 73.06 kB / 0.771 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.5138, allocations: 85 kB / 0.7711 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.5138, allocations: 0 / 0.7711 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.5138, allocations: 0 / 0.7711 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.5138, allocations: 7.984 kB / 0.7711 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.5139, allocations: 4 kB / 0.7711 GB, free: 15.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.088e-05/0.5139, allocations: 79.28 kB / 0.7712 GB, free: 15.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5139, allocations: 0 / 0.7712 GB, free: 15.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001972/0.5141, allocations: 15.94 kB / 0.7712 GB, free: 15.22 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.0001684/0.5143, allocations: 119.2 kB / 0.7713 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.892e-05/0.5143, allocations: 8 kB / 0.7713 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5143, allocations: 0 / 0.7713 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-05/0.5144, allocations: 7.938 kB / 0.7713 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.5146, allocations: 15.86 kB / 0.7714 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.5148, allocations: 98.28 kB / 0.7715 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.5152, allocations: 0.6768 MB / 0.7721 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.5152, allocations: 4 kB / 0.7721 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.5152, allocations: 7.438 kB / 0.7721 GB, free: 14.22 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.5152, allocations: 0 / 0.7721 GB, free: 14.22 MB / 0.545 GB Notification: Performance of Templates: time 0.003023/0.5182, allocations: 0.6051 MB / 0.7727 GB, free: 13.62 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)