Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_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.001186/0.001186, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 196 kB / 16.53 MB, free: 6.664 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.18/1.18, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6899/0.6899, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 68.64 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3156, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002014/0.3176, allocations: 1.284 MB / 0.5815 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004451/0.3181, allocations: 311.6 kB / 0.5817 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.3181, allocations: 5.5 kB / 0.5818 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.3182, allocations: 0.75 kB / 0.5818 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.422e-05/0.3183, allocations: 9.062 kB / 0.5818 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.3185, allocations: 86.83 kB / 0.5818 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.3186, allocations: 34.58 kB / 0.5819 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.341e-05/0.3186, allocations: 3.281 kB / 0.5819 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.3187, allocations: 25.3 kB / 0.5819 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.351e-05/0.3188, allocations: 11.12 kB / 0.5819 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3188, allocations: 5.125 kB / 0.5819 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.3189, allocations: 82.88 kB / 0.582 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.319, allocations: 5.406 kB / 0.582 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.319, allocations: 13.12 kB / 0.582 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.3191, allocations: 77.06 kB / 0.5821 GB, free: 3.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3192, allocations: 0.875 kB / 0.5821 GB, free: 3.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3192, allocations: 0 / 0.5821 GB, free: 3.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3192, allocations: 0 / 0.5821 GB, free: 3.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002702/0.3194, allocations: 357.2 kB / 0.5824 GB, free: 2.945 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.3195, allocations: 12.91 kB / 0.5824 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.859e-05/0.3195, allocations: 32.19 kB / 0.5825 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.348e-05/0.3195, allocations: 4.016 kB / 0.5825 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.875e-05/0.3196, allocations: 171.3 kB / 0.5826 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3196, allocations: 1.891 kB / 0.5826 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.3196, allocations: 1.469 kB / 0.5826 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.733e-05/0.3197, allocations: 42.56 kB / 0.5827 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.3197, allocations: 0.9688 kB / 0.5827 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.3197, allocations: 0 / 0.5827 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.3198, allocations: 0.8438 kB / 0.5827 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.638e-05/0.3198, allocations: 16.56 kB / 0.5827 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.3199, allocations: 159.8 kB / 0.5829 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.257e-05/0.32, allocations: 32.69 kB / 0.5829 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.32, allocations: 10.5 kB / 0.5829 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007755/0.3208, allocations: 1.188 MB / 0.5841 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.3208, allocations: 32.58 kB / 0.5841 GB, free: 1.055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.482e-06/0.3208, allocations: 3.984 kB / 0.5841 GB, free: 1.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001398/0.321, allocations: 51.5 kB / 0.5841 GB, free: 1.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.321, allocations: 53.11 kB / 0.5842 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.3211, allocations: 119.4 kB / 0.5843 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.3211, allocations: 25.7 kB / 0.5843 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.322e-05/0.3211, allocations: 85.45 kB / 0.5844 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.3211, allocations: 10.52 kB / 0.5844 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.3211, allocations: 17.89 kB / 0.5844 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.681e-05/0.3212, allocations: 312.4 kB / 0.5847 GB, free: 388 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.3212, allocations: 3.203 kB / 0.5847 GB, free: 388 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.3212, allocations: 5.094 kB / 0.5847 GB, free: 388 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.3213, allocations: 20.64 kB / 0.5848 GB, free: 372 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3213, allocations: 5.188 kB / 0.5848 GB, free: 368 kB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.196e-05/0.3213, allocations: 48.8 kB / 0.5848 GB, free: 328 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.3213, allocations: 4.781 kB / 0.5848 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3214, allocations: 0 / 0.5848 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3214, allocations: 1.766 kB / 0.5848 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/0.3214, allocations: 12.95 kB / 0.5848 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3214, allocations: 0.7812 kB / 0.5848 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.3215, allocations: 0.8125 kB / 0.5848 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3215, allocations: 2.297 kB / 0.5848 GB, free: 320 kB / 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 (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 4.023e-05/0.3215, allocations: 115.8 kB / 0.585 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.3215, allocations: 9.781 kB / 0.585 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.3216, allocations: 58.5 kB / 0.585 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3216, allocations: 0 / 0.585 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3217, allocations: 1.109 kB / 0.585 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3217, allocations: 1.531 kB / 0.585 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.556e-05/0.3217, allocations: 163.3 kB / 0.5852 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3218, allocations: 9.219 kB / 0.5852 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.3218, allocations: 5 kB / 0.5852 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3218, allocations: 0.7812 kB / 0.5852 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.3218, allocations: 0.8438 kB / 0.5852 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3218, allocations: 1.594 kB / 0.5852 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3218, allocations: 0 / 0.5852 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.218e-05/0.3219, allocations: 71.25 kB / 0.5853 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.322, allocations: 89.56 kB / 0.5853 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.322, allocations: 5.688 kB / 0.5853 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.028e-05/0.322, allocations: 5.906 kB / 0.5854 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.322, allocations: 2.703 kB / 0.5854 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.3221, allocations: 2.094 kB / 0.5854 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.657e-05/0.3221, allocations: 84.42 kB / 0.5854 GB, free: 15.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3221, allocations: 0 / 0.5854 GB, free: 15.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002036/0.3223, allocations: 33.7 kB / 0.5855 GB, free: 15.66 MB / 446.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.0003759/0.3227, allocations: 0.6343 MB / 0.5861 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.822e-05/0.3228, allocations: 20.56 kB / 0.5861 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3228, allocations: 3.938 kB / 0.5861 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.3228, allocations: 7.625 kB / 0.5861 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.323, allocations: 7.156 kB / 0.5861 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.3233, allocations: 169.9 kB / 0.5863 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.3235, allocations: 0.6862 MB / 0.587 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.121e-05/0.3236, allocations: 4.156 kB / 0.587 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.3236, allocations: 15.28 kB / 0.587 GB, free: 14.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3236, allocations: 0 / 0.587 GB, free: 14.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.026/1.35, allocations: 1.595 MB / 0.5885 GB, free: 13.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.8, allocations: 4.766 kB / 0.5885 GB, free: 13.81 MB / 446.1 MB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)