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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.000924/0.0009241, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005694/0.005694, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.241/1.241, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 275.1 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9479/0.9479, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004219, allocations: 21.39 kB / 0.5988 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1602, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001401/0.1616, allocations: 1.012 MB / 0.6862 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005655/0.1622, allocations: 315 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.1622, allocations: 4.5 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.1623, allocations: 4.562 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.1624, allocations: 9.109 kB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1626, allocations: 53.25 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.1627, allocations: 31.91 kB / 0.6866 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.1628, allocations: 5.75 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1629, allocations: 28.81 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.1629, allocations: 11.94 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.163, allocations: 11.41 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1631, allocations: 75.91 kB / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.1632, allocations: 7.938 kB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.1632, allocations: 41.62 kB / 0.6868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1634, allocations: 76.06 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1634, allocations: 4 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1634, allocations: 0 / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.788e-06/0.1634, allocations: 0 / 0.6869 GB, free: 13.27 MB / 494.1 MB 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.0004144/0.1638, allocations: 344.1 kB / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.1639, allocations: 8.656 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.1639, allocations: 31.28 kB / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.164, allocations: 4.938 kB / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1641, allocations: 170.7 kB / 0.6874 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1641, allocations: 12.36 kB / 0.6874 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.1641, allocations: 384 / 0.6874 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.123e-05/0.1642, allocations: 33.64 kB / 0.6875 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-06/0.1642, allocations: 0 / 0.6875 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1643, allocations: 0 / 0.6875 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1643, allocations: 4.75 kB / 0.6875 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.019e-05/0.1643, allocations: 15.92 kB / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.1645, allocations: 158.5 kB / 0.6876 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.1646, allocations: 40.31 kB / 0.6877 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.1646, allocations: 8.922 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.1657, allocations: 1.191 MB / 0.6888 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1657, allocations: 34.56 kB / 0.6889 GB, free: 10.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1657, allocations: 0.9375 kB / 0.6889 GB, free: 10.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001542/0.1659, allocations: 53.62 kB / 0.6889 GB, free: 10.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.1659, allocations: 59.34 kB / 0.689 GB, free: 10.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.03e-05/0.166, allocations: 113.8 kB / 0.6891 GB, free: 10.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.166, allocations: 25.7 kB / 0.6891 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.166, allocations: 80.14 kB / 0.6892 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.1661, allocations: 7.812 kB / 0.6892 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.1661, allocations: 13.72 kB / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1662, allocations: 318.8 kB / 0.6895 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.1662, allocations: 0 / 0.6895 GB, free: 10.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.1663, allocations: 11.94 kB / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.941e-05/0.1663, allocations: 20.8 kB / 0.6895 GB, free: 10.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1663, allocations: 0 / 0.6895 GB, free: 10.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.473e-05/0.1664, allocations: 49.62 kB / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1664, allocations: 5.719 kB / 0.6896 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1664, allocations: 0 / 0.6896 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1664, allocations: 4 kB / 0.6896 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.1665, allocations: 4 kB / 0.6896 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1665, allocations: 3.984 kB / 0.6896 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.1665, allocations: 0 / 0.6896 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1665, allocations: 4 kB / 0.6896 GB, free: 9.996 MB / 494.1 MB 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 6.851e-05/0.1666, allocations: 115.2 kB / 0.6897 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.1666, allocations: 7.844 kB / 0.6897 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1668, allocations: 57.53 kB / 0.6898 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1668, allocations: 0 / 0.6898 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1668, allocations: 0 / 0.6898 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1668, allocations: 4 kB / 0.6898 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.1669, allocations: 165.7 kB / 0.6899 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1669, allocations: 3.938 kB / 0.6899 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.1669, allocations: 4 kB / 0.69 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1669, allocations: 0 / 0.69 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.167, allocations: 4 kB / 0.69 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.167, allocations: 0 / 0.69 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.167, allocations: 0 / 0.69 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.584e-05/0.1671, allocations: 73.44 kB / 0.69 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.1671, allocations: 96.94 kB / 0.6901 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1672, allocations: 48 / 0.6901 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.105e-05/0.1672, allocations: 15.92 kB / 0.6901 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.1672, allocations: 0 / 0.6901 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1672, allocations: 0 / 0.6901 GB, free: 9.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.313e-05/0.1673, allocations: 87.27 kB / 0.6902 GB, free: 9.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1673, allocations: 0 / 0.6902 GB, free: 9.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002055/0.1675, allocations: 31.94 kB / 0.6902 GB, free: 9.238 MB / 494.1 MB 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.0004255/0.1679, allocations: 0.6281 MB / 0.6909 GB, free: 8.582 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.411e-05/0.168, allocations: 19.92 kB / 0.6909 GB, free: 8.562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.168, allocations: 0 / 0.6909 GB, free: 8.562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/0.168, allocations: 8 kB / 0.6909 GB, free: 8.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.1682, allocations: 8.75 kB / 0.6909 GB, free: 8.547 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.1686, allocations: 182.3 kB / 0.6911 GB, free: 8.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.1689, allocations: 0.6809 MB / 0.6917 GB, free: 7.621 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.581e-05/0.1689, allocations: 16.47 kB / 0.6917 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.169, allocations: 7.438 kB / 0.6918 GB, free: 7.598 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.169, allocations: 0 / 0.6918 GB, free: 7.598 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.1804, allocations: 1.443 MB / 0.6932 GB, free: 6.336 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.1806, allocations: 225.7 kB / 0.6934 GB, free: 6.082 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.844, allocations: 0 / 0.6934 GB, free: 6.082 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)