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.0007772/0.0007772, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00542/0.00542, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7025/0.7025, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002804, allocations: 8 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3258, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001014/0.3269, allocations: 1.022 MB / 0.5847 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004641/0.3273, allocations: 316.9 kB / 0.585 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.518e-05/0.3274, allocations: 0 / 0.585 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.3274, allocations: 4.5 kB / 0.585 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.3275, allocations: 7.469 kB / 0.5851 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.3277, allocations: 63.2 kB / 0.5851 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.3278, allocations: 34.88 kB / 0.5851 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.3278, allocations: 3.875 kB / 0.5852 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.358e-05/0.3279, allocations: 30.36 kB / 0.5852 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.3279, allocations: 18.56 kB / 0.5852 GB, free: 3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.328, allocations: 0.9062 kB / 0.5852 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.3281, allocations: 78.86 kB / 0.5853 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.3281, allocations: 2.625 kB / 0.5853 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.3282, allocations: 38.27 kB / 0.5853 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.3283, allocations: 73.2 kB / 0.5854 GB, free: 2.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3283, allocations: 0 / 0.5854 GB, free: 2.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3283, allocations: 1.312 kB / 0.5854 GB, free: 2.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.3283, allocations: 0 / 0.5854 GB, free: 2.926 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.0002404/0.3286, allocations: 348.1 kB / 0.5857 GB, free: 2.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3286, allocations: 9.531 kB / 0.5857 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.371e-05/0.3286, allocations: 33.47 kB / 0.5858 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.988e-05/0.3287, allocations: 14.62 kB / 0.5858 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.873e-05/0.3287, allocations: 171.6 kB / 0.5859 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-06/0.3287, allocations: 384 / 0.5859 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.3288, allocations: 2.5 kB / 0.5859 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.76e-05/0.3288, allocations: 42.5 kB / 0.586 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.3288, allocations: 0 / 0.586 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.3289, allocations: 4.516 kB / 0.586 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3289, allocations: 0 / 0.586 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.395e-05/0.3289, allocations: 12.47 kB / 0.586 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.912e-05/0.329, allocations: 156.7 kB / 0.5861 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.001e-05/0.3291, allocations: 32.16 kB / 0.5862 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.3291, allocations: 14.22 kB / 0.5862 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007263/0.3298, allocations: 1.192 MB / 0.5874 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.3299, allocations: 40.66 kB / 0.5874 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.512e-06/0.3299, allocations: 3.984 kB / 0.5874 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001172/0.33, allocations: 56.92 kB / 0.5874 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.395e-05/0.33, allocations: 51.41 kB / 0.5875 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.493e-05/0.3301, allocations: 107.1 kB / 0.5876 GB, free: 448 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.3301, allocations: 27.2 kB / 0.5876 GB, free: 416 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.289e-05/0.3301, allocations: 80.8 kB / 0.5877 GB, free: 332 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.3301, allocations: 13.33 kB / 0.5877 GB, free: 320 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.3301, allocations: 11.38 kB / 0.5877 GB, free: 304 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.395e-05/0.3302, allocations: 312.8 kB / 0.588 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.3302, allocations: 11.06 kB / 0.588 GB, free: 15.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.05e-05/0.3302, allocations: 4.312 kB / 0.588 GB, free: 15.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.3303, allocations: 17.8 kB / 0.5881 GB, free: 15.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3303, allocations: 0 / 0.5881 GB, free: 15.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.656e-05/0.3304, allocations: 49.33 kB / 0.5881 GB, free: 15.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.3304, allocations: 4.781 kB / 0.5881 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3304, allocations: 0.5938 kB / 0.5881 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.3304, allocations: 2.141 kB / 0.5881 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.299e-05/0.3304, allocations: 4.094 kB / 0.5881 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3305, allocations: 0.8438 kB / 0.5881 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.3305, allocations: 12.97 kB / 0.5881 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.3305, allocations: 5.25 kB / 0.5881 GB, free: 15.91 MB / 446.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.33e-05/0.3306, allocations: 112.9 kB / 0.5882 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.3306, allocations: 5.531 kB / 0.5882 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.3307, allocations: 58.14 kB / 0.5883 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.3307, allocations: 1.453 kB / 0.5883 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3307, allocations: 4 kB / 0.5883 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3307, allocations: 1.344 kB / 0.5883 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.456e-05/0.3308, allocations: 160.3 kB / 0.5885 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3308, allocations: 7.875 kB / 0.5885 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.3309, allocations: 5.469 kB / 0.5885 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3309, allocations: 0.5156 kB / 0.5885 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.3309, allocations: 1.812 kB / 0.5885 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3309, allocations: 0.5625 kB / 0.5885 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3309, allocations: 3.938 kB / 0.5885 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.005e-05/0.331, allocations: 75.27 kB / 0.5886 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.331, allocations: 86.61 kB / 0.5886 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.3311, allocations: 5.797 kB / 0.5886 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.562e-05/0.3311, allocations: 0.6094 kB / 0.5886 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.3311, allocations: 3.562 kB / 0.5886 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.3311, allocations: 2.641 kB / 0.5886 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.731e-05/0.3312, allocations: 91.09 kB / 0.5887 GB, free: 15.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3312, allocations: 0 / 0.5887 GB, free: 15.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001985/0.3314, allocations: 25.08 kB / 0.5888 GB, free: 15.27 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.0003721/0.3318, allocations: 0.6434 MB / 0.5894 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.521e-05/0.3318, allocations: 15.92 kB / 0.5894 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3318, allocations: 1.312 kB / 0.5894 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.431e-05/0.3319, allocations: 6.984 kB / 0.5894 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.332, allocations: 15.34 kB / 0.5894 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.3324, allocations: 182 kB / 0.5896 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.3326, allocations: 0.6801 MB / 0.5903 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.094e-05/0.3326, allocations: 7.469 kB / 0.5903 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.3326, allocations: 11.19 kB / 0.5903 GB, free: 13.75 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3326, allocations: 0 / 0.5903 GB, free: 13.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1746/0.5072, allocations: 1.417 MB / 0.5917 GB, free: 13.61 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003219/0.5076, allocations: 196.2 kB / 0.5918 GB, free: 13.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.994, allocations: 0 / 0.5918 GB, free: 13.36 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)