Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001206/0.001206, allocations: 195.2 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.464/1.464, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 70.23 kB / 0.6709 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1701, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001965/0.1721, allocations: 1.313 MB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002677/0.1724, allocations: 135.5 kB / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.447e-05/0.1724, allocations: 4 kB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.1724, allocations: 0 / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.1725, allocations: 0 / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.1726, allocations: 27.91 kB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.304e-05/0.1727, allocations: 7.938 kB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.1727, allocations: 7.984 kB / 0.7842 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.1727, allocations: 8 kB / 0.7843 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.1728, allocations: 7.922 kB / 0.7843 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1728, allocations: 4 kB / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1729, allocations: 47.94 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.1729, allocations: 4 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.1729, allocations: 4 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.946e-05/0.173, allocations: 44.11 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.173, allocations: 3.938 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.11e-07/0.173, allocations: 0 / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.1731, allocations: 0 / 0.7844 GB, free: 12.3 MB / 0.6075 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.0003224/0.1734, allocations: 331.5 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1734, allocations: 8.031 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.1735, allocations: 38.67 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.935e-05/0.1735, allocations: 0.9375 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1736, allocations: 164.4 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1736, allocations: 8.375 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.1736, allocations: 384 / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.294e-05/0.1737, allocations: 34.27 kB / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1737, allocations: 3.938 kB / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1737, allocations: 3.984 kB / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.1737, allocations: 0 / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.687e-05/0.1737, allocations: 4 kB / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.1739, allocations: 153.7 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.293e-05/0.1739, allocations: 30.53 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.174, allocations: 8.922 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006309/0.1746, allocations: 0.6129 MB / 0.7857 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1746, allocations: 34.56 kB / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1746, allocations: 0 / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001158/0.1748, allocations: 45.73 kB / 0.7858 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.1748, allocations: 59.34 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/0.1749, allocations: 97.84 kB / 0.7859 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.1749, allocations: 25.7 kB / 0.786 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.1749, allocations: 84.14 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.1749, allocations: 7.844 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.175, allocations: 13.72 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.175, allocations: 310.8 kB / 0.7864 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.1751, allocations: 12.03 kB / 0.7864 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/0.1751, allocations: 3.984 kB / 0.7864 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.1751, allocations: 8.859 kB / 0.7864 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1751, allocations: 0 / 0.7864 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.358e-05/0.1752, allocations: 45.64 kB / 0.7864 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.1752, allocations: 7.938 kB / 0.7864 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1752, allocations: 0 / 0.7864 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.1752, allocations: 0 / 0.7864 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.115e-05/0.1753, allocations: 4 kB / 0.7864 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1753, allocations: 8.078 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.786e-05/0.1753, allocations: 3.906 kB / 0.7865 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.1753, allocations: 0 / 0.7865 GB, free: 9.793 MB / 0.6075 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 5.293e-05/0.1754, allocations: 109.8 kB / 0.7866 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.1754, allocations: 7.875 kB / 0.7866 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.7e-05/0.1755, allocations: 44.81 kB / 0.7866 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1755, allocations: 0 / 0.7866 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1755, allocations: 4 kB / 0.7866 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1755, allocations: 4.031 kB / 0.7866 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.524e-05/0.1756, allocations: 149.7 kB / 0.7868 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1756, allocations: 7.938 kB / 0.7868 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.1756, allocations: 0 / 0.7868 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1756, allocations: 3.938 kB / 0.7868 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1756, allocations: 4 kB / 0.7868 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1756, allocations: 0 / 0.7868 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1756, allocations: 3.938 kB / 0.7868 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.749e-05/0.1757, allocations: 65.31 kB / 0.7868 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.1757, allocations: 81.09 kB / 0.7869 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.1758, allocations: 11.94 kB / 0.7869 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.554e-05/0.1758, allocations: 0 / 0.7869 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-06/0.1758, allocations: 0 / 0.7869 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.1758, allocations: 4 kB / 0.7869 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.1758, allocations: 83.27 kB / 0.787 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1758, allocations: 0 / 0.787 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001772/0.176, allocations: 16 kB / 0.787 GB, free: 9.098 MB / 0.6075 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.0003359/0.1764, allocations: 0.6156 MB / 0.7876 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.759e-05/0.1764, allocations: 12 kB / 0.7876 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1764, allocations: 0 / 0.7876 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.1765, allocations: 11.92 kB / 0.7877 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.1767, allocations: 8.156 kB / 0.7877 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000771/0.1774, allocations: 1.089 MB / 0.7887 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.1776, allocations: 0.6731 MB / 0.7894 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.62e-05/0.1777, allocations: 11.92 kB / 0.7894 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.1777, allocations: 7.438 kB / 0.7894 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1777, allocations: 0 / 0.7894 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009597/0.1873, allocations: 1.292 MB / 0.7907 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.1875, allocations: 215.2 kB / 0.7909 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/1.661, allocations: 0 / 0.7909 GB, free: 5.082 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)