Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_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.0009073/0.0009075, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.0008953/0.0008954, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7129/0.7129, allocations: 132.2 MB / 423.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002925, allocations: 12 kB / 0.5033 GB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3802, allocations: 81.56 MB / 0.583 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001144/0.3814, allocations: 0.9793 MB / 0.5839 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002337/0.3816, allocations: 114.7 kB / 0.584 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.3817, allocations: 0 / 0.584 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.3817, allocations: 0 / 0.584 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.3818, allocations: 9.422 kB / 0.584 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.382, allocations: 24.56 kB / 0.5841 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.913e-05/0.382, allocations: 11.95 kB / 0.5841 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.3821, allocations: 4.656 kB / 0.5841 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.3821, allocations: 8.297 kB / 0.5841 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.3822, allocations: 8.312 kB / 0.5841 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.3822, allocations: 1.25 kB / 0.5841 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.3824, allocations: 46.03 kB / 0.5841 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.3824, allocations: 3.875 kB / 0.5841 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.3824, allocations: 28 kB / 0.5842 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.919e-05/0.3825, allocations: 21.36 kB / 0.5842 GB, free: 2.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.3825, allocations: 0 / 0.5842 GB, free: 2.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3825, allocations: 0.875 kB / 0.5842 GB, free: 2.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3825, allocations: 0 / 0.5842 GB, free: 2.984 MB / 430.1 MB 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.0003004/0.3828, allocations: 329.5 kB / 0.5845 GB, free: 2.629 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3829, allocations: 12.3 kB / 0.5845 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.3829, allocations: 30.56 kB / 0.5845 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.3829, allocations: 1.812 kB / 0.5845 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.383, allocations: 174.2 kB / 0.5847 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3831, allocations: 3.938 kB / 0.5847 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.3831, allocations: 2.219 kB / 0.5847 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.287e-05/0.3832, allocations: 38.88 kB / 0.5848 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.3832, allocations: 0 / 0.5848 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.3832, allocations: 4.688 kB / 0.5848 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3832, allocations: 0 / 0.5848 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.912e-05/0.3832, allocations: 8.922 kB / 0.5848 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.3834, allocations: 155.5 kB / 0.5849 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.563e-05/0.3834, allocations: 24.98 kB / 0.5849 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/0.384, allocations: 0.6167 MB / 0.5855 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.3841, allocations: 36.19 kB / 0.5856 GB, free: 1.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3841, allocations: 0 / 0.5856 GB, free: 1.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001438/0.3842, allocations: 40.66 kB / 0.5856 GB, free: 1.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.3843, allocations: 52.88 kB / 0.5857 GB, free: 1.301 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/0.3843, allocations: 95.47 kB / 0.5858 GB, free: 1.203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.3844, allocations: 33.83 kB / 0.5858 GB, free: 1.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.3844, allocations: 82.05 kB / 0.5859 GB, free: 1.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.3844, allocations: 5.828 kB / 0.5859 GB, free: 1.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.3844, allocations: 0 / 0.5859 GB, free: 1.078 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.3845, allocations: 316.9 kB / 0.5862 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.3845, allocations: 2.031 kB / 0.5862 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-06/0.3845, allocations: 6.062 kB / 0.5862 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.862e-05/0.3845, allocations: 7.438 kB / 0.5862 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3846, allocations: 4.906 kB / 0.5862 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.622e-05/0.3846, allocations: 36.06 kB / 0.5862 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3846, allocations: 4.344 kB / 0.5862 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3847, allocations: 0.7031 kB / 0.5862 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3847, allocations: 1.188 kB / 0.5862 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.3847, allocations: 3.547 kB / 0.5862 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3847, allocations: 0 / 0.5862 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.3848, allocations: 1.328 kB / 0.5862 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.3848, allocations: 0.7812 kB / 0.5862 GB, free: 0.7188 MB / 430.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.3848, allocations: 119.9 kB / 0.5864 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.3849, allocations: 5.625 kB / 0.5864 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.656e-05/0.385, allocations: 48 kB / 0.5864 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.385, allocations: 1.188 kB / 0.5864 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.385, allocations: 0.5625 kB / 0.5864 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.385, allocations: 0.75 kB / 0.5864 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.455e-05/0.3851, allocations: 156 kB / 0.5866 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3851, allocations: 3.938 kB / 0.5866 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.3851, allocations: 4.062 kB / 0.5866 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3851, allocations: 5.719 kB / 0.5866 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.3851, allocations: 3.938 kB / 0.5866 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3851, allocations: 4.797 kB / 0.5866 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3852, allocations: 1.031 kB / 0.5866 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.327e-05/0.3852, allocations: 65.09 kB / 0.5866 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.3853, allocations: 81.67 kB / 0.5867 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.3853, allocations: 1.75 kB / 0.5867 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.725e-05/0.3853, allocations: 0.6562 kB / 0.5867 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.3853, allocations: 5.609 kB / 0.5867 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.3854, allocations: 1.219 kB / 0.5867 GB, free: 168 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.758e-05/0.3854, allocations: 79.58 kB / 0.5868 GB, free: 92 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3854, allocations: 0 / 0.5868 GB, free: 92 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.3856, allocations: 12.27 kB / 0.5868 GB, free: 92 kB / 430.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004629/0.3861, allocations: 0.6219 MB / 0.5874 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.94e-05/0.3862, allocations: 11.78 kB / 0.5874 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3862, allocations: 0 / 0.5874 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/0.3862, allocations: 4.641 kB / 0.5874 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.3864, allocations: 12.88 kB / 0.5875 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.387, allocations: 345 kB / 0.5878 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.3872, allocations: 0.6772 MB / 0.5884 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.788e-05/0.3873, allocations: 6.156 kB / 0.5884 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.3873, allocations: 8.875 kB / 0.5885 GB, free: 14.43 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3873, allocations: 0 / 0.5885 GB, free: 14.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.483/6.87, allocations: 1.193 MB / 0.5896 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/6.87, allocations: 170.9 kB / 0.5898 GB, free: 14.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/8.312, allocations: 0 / 0.5898 GB, free: 14.06 MB / 446.1 MB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: