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.0009362/0.000941, allocations: 91.84 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.004523/0.004523, allocations: 170 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.216/1.216, 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.7107/0.7107, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.000288, allocations: 16 kB / 0.5041 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3382, allocations: 81.56 MB / 0.5837 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001132/0.3394, allocations: 0.9936 MB / 0.5847 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002869/0.3397, allocations: 128.5 kB / 0.5848 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.356e-05/0.3397, allocations: 1.625 kB / 0.5848 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.3397, allocations: 0.6094 kB / 0.5848 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.024e-05/0.3398, allocations: 8.156 kB / 0.5848 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.3399, allocations: 23.94 kB / 0.5849 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.119e-05/0.34, allocations: 13.02 kB / 0.5849 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.34, allocations: 1.453 kB / 0.5849 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.34, allocations: 12.52 kB / 0.5849 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.3401, allocations: 7.25 kB / 0.5849 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.3401, allocations: 1.312 kB / 0.5849 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.3402, allocations: 51.7 kB / 0.585 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.3403, allocations: 3.938 kB / 0.585 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.3403, allocations: 32.86 kB / 0.585 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.621e-05/0.3404, allocations: 43.09 kB / 0.585 GB, free: 3.191 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3404, allocations: 0 / 0.585 GB, free: 3.191 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3404, allocations: 0 / 0.585 GB, free: 3.191 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.3404, allocations: 0 / 0.585 GB, free: 3.191 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.0002452/0.3407, allocations: 330 kB / 0.5853 GB, free: 2.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3407, allocations: 10.92 kB / 0.5854 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.531e-05/0.3407, allocations: 34.75 kB / 0.5854 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.738e-05/0.3408, allocations: 6.094 kB / 0.5854 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.069e-05/0.3408, allocations: 167.1 kB / 0.5856 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.3409, allocations: 1.5 kB / 0.5856 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.3409, allocations: 1.219 kB / 0.5856 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.114e-05/0.3409, allocations: 34.97 kB / 0.5856 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.341, allocations: 4 kB / 0.5856 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.341, allocations: 0 / 0.5856 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.341, allocations: 1.25 kB / 0.5856 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.861e-05/0.341, allocations: 7.844 kB / 0.5856 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.3411, allocations: 155.8 kB / 0.5858 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.257e-05/0.3412, allocations: 25.75 kB / 0.5858 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.3412, allocations: 8 kB / 0.5858 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005296/0.3417, allocations: 0.6164 MB / 0.5864 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.3417, allocations: 36 kB / 0.5864 GB, free: 1.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3417, allocations: 3.938 kB / 0.5864 GB, free: 1.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001141/0.3419, allocations: 41.31 kB / 0.5865 GB, free: 1.566 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.56e-05/0.3419, allocations: 52.11 kB / 0.5865 GB, free: 1.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.532e-05/0.3419, allocations: 108.5 kB / 0.5866 GB, free: 1.395 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.491e-06/0.342, allocations: 25.7 kB / 0.5866 GB, free: 1.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.306e-05/0.342, allocations: 82.06 kB / 0.5867 GB, free: 1.281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.342, allocations: 4.516 kB / 0.5867 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.342, allocations: 10.5 kB / 0.5867 GB, free: 1.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.578e-05/0.3421, allocations: 317 kB / 0.587 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.3421, allocations: 2.516 kB / 0.587 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.3421, allocations: 2.719 kB / 0.587 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.3421, allocations: 18.81 kB / 0.5871 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3421, allocations: 0 / 0.5871 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.321e-05/0.3422, allocations: 45.08 kB / 0.5871 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3422, allocations: 4.75 kB / 0.5871 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.3422, allocations: 0 / 0.5871 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.3422, allocations: 0.6562 kB / 0.5871 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.275e-05/0.3423, allocations: 3.922 kB / 0.5871 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.3423, allocations: 0.625 kB / 0.5871 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.3423, allocations: 4.938 kB / 0.5871 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.3423, allocations: 1.438 kB / 0.5871 GB, free: 0.8867 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.3424, allocations: 115.8 kB / 0.5872 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.3424, allocations: 5.219 kB / 0.5872 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.846e-05/0.3425, allocations: 48.53 kB / 0.5873 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3425, allocations: 1.312 kB / 0.5873 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3425, allocations: 0 / 0.5873 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3425, allocations: 0.75 kB / 0.5873 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.312e-05/0.3425, allocations: 148.1 kB / 0.5874 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3425, allocations: 8.719 kB / 0.5874 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.3426, allocations: 7.5 kB / 0.5874 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3426, allocations: 0.6094 kB / 0.5874 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.3426, allocations: 0.625 kB / 0.5874 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3426, allocations: 1.25 kB / 0.5874 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3426, allocations: 0.75 kB / 0.5874 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.561e-05/0.3427, allocations: 60.8 kB / 0.5875 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.3427, allocations: 90.59 kB / 0.5876 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.3427, allocations: 5.984 kB / 0.5876 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/0.3427, allocations: 4.031 kB / 0.5876 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.3427, allocations: 2.688 kB / 0.5876 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.3427, allocations: 0 / 0.5876 GB, free: 348 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.867e-05/0.3428, allocations: 79.33 kB / 0.5877 GB, free: 272 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3428, allocations: 0.8438 kB / 0.5877 GB, free: 272 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001925/0.343, allocations: 16.16 kB / 0.5877 GB, free: 268 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 (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.0003134/0.3433, allocations: 0.6161 MB / 0.5883 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.964e-05/0.3434, allocations: 11.23 kB / 0.5883 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3434, allocations: 1.156 kB / 0.5883 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.3434, allocations: 4.734 kB / 0.5883 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.3436, allocations: 7.328 kB / 0.5883 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.3444, allocations: 1.103 MB / 0.5894 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.3446, allocations: 0.675 MB / 0.59 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.487e-05/0.3446, allocations: 3.094 kB / 0.5901 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.3447, allocations: 8.531 kB / 0.5901 GB, free: 13.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3447, allocations: 0 / 0.5901 GB, free: 13.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3255/0.6701, allocations: 1.213 MB / 0.5912 GB, free: 13.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.6704, allocations: 196.1 kB / 0.5914 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/2.155, allocations: 0.5938 kB / 0.5914 GB, free: 13.45 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/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)