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.001201/0.001201, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001287/0.001287, allocations: 187.3 kB / 16.25 MB, free: 6.145 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.194/1.194, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6785/0.6785, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 67.83 kB / 0.5014 GB, free: 9.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1229, allocations: 80.21 MB / 0.5797 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002147/0.125, allocations: 1.31 MB / 0.581 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002383/0.1253, allocations: 123.5 kB / 0.5811 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.1253, allocations: 0 / 0.5811 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.1253, allocations: 4 kB / 0.5811 GB, free: 7.586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.1254, allocations: 0 / 0.5811 GB, free: 7.586 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.1256, allocations: 39.89 kB / 0.5811 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.836e-05/0.1256, allocations: 11.94 kB / 0.5811 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.1257, allocations: 7.984 kB / 0.5811 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.437e-05/0.1257, allocations: 0 / 0.5811 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.1257, allocations: 7.938 kB / 0.5811 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.1257, allocations: 0 / 0.5811 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1258, allocations: 51.94 kB / 0.5812 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.1259, allocations: 11.92 kB / 0.5812 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.1259, allocations: 7.938 kB / 0.5812 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.73e-05/0.126, allocations: 39.95 kB / 0.5813 GB, free: 7.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.126, allocations: 0 / 0.5813 GB, free: 7.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.126, allocations: 0 / 0.5813 GB, free: 7.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.126, allocations: 0 / 0.5813 GB, free: 7.41 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003011/0.1263, allocations: 331.6 kB / 0.5816 GB, free: 7.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1264, allocations: 12.03 kB / 0.5816 GB, free: 7.027 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.1264, allocations: 38.73 kB / 0.5816 GB, free: 6.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.797e-05/0.1264, allocations: 0.9375 kB / 0.5816 GB, free: 6.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1265, allocations: 164.4 kB / 0.5818 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.1265, allocations: 4.375 kB / 0.5818 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.1265, allocations: 384 / 0.5818 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.164e-05/0.1266, allocations: 35.41 kB / 0.5818 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.1266, allocations: 0 / 0.5818 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.1266, allocations: 0 / 0.5818 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1266, allocations: 3.984 kB / 0.5818 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.945e-05/0.1267, allocations: 8 kB / 0.5818 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.1268, allocations: 153.6 kB / 0.582 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.769e-05/0.1269, allocations: 38.55 kB / 0.582 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.1269, allocations: 8.922 kB / 0.582 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006259/0.1275, allocations: 0.609 MB / 0.5826 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.1275, allocations: 34.56 kB / 0.5826 GB, free: 5.688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1275, allocations: 0 / 0.5826 GB, free: 5.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000111/0.1277, allocations: 41.64 kB / 0.5827 GB, free: 5.641 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.1277, allocations: 51.41 kB / 0.5827 GB, free: 5.578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.651e-05/0.1278, allocations: 101.8 kB / 0.5828 GB, free: 5.469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.1278, allocations: 29.7 kB / 0.5829 GB, free: 5.434 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.1278, allocations: 80.14 kB / 0.5829 GB, free: 5.352 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.1278, allocations: 3.906 kB / 0.5829 GB, free: 5.348 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.1279, allocations: 17.72 kB / 0.583 GB, free: 5.324 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.1279, allocations: 310.8 kB / 0.5833 GB, free: 5.012 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.128, allocations: 4.125 kB / 0.5833 GB, free: 5.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/0.128, allocations: 7.984 kB / 0.5833 GB, free: 5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.644e-05/0.128, allocations: 12.86 kB / 0.5833 GB, free: 4.984 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.128, allocations: 0 / 0.5833 GB, free: 4.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.903e-05/0.1281, allocations: 49.48 kB / 0.5833 GB, free: 4.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1281, allocations: 4 kB / 0.5833 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1281, allocations: 0 / 0.5833 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.1281, allocations: 0 / 0.5833 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.413e-05/0.1282, allocations: 4 kB / 0.5833 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1282, allocations: 8.078 kB / 0.5833 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.1282, allocations: 7.938 kB / 0.5833 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.1282, allocations: 0 / 0.5833 GB, free: 4.906 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 (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 5.947e-05/0.1283, allocations: 113.8 kB / 0.5835 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.1283, allocations: 3.938 kB / 0.5835 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.1284, allocations: 52.75 kB / 0.5835 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1284, allocations: 0 / 0.5835 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1284, allocations: 0 / 0.5835 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1284, allocations: 4.031 kB / 0.5835 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.927e-05/0.1285, allocations: 157.7 kB / 0.5837 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1285, allocations: 3.938 kB / 0.5837 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.1285, allocations: 4 kB / 0.5837 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1285, allocations: 3.938 kB / 0.5837 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.1285, allocations: 0 / 0.5837 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1286, allocations: 4 kB / 0.5837 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1286, allocations: 0 / 0.5837 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.762e-05/0.1286, allocations: 65.12 kB / 0.5837 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.1287, allocations: 81.05 kB / 0.5838 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.1287, allocations: 0 / 0.5838 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.572e-05/0.1287, allocations: 4 kB / 0.5838 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.1287, allocations: 0 / 0.5838 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1287, allocations: 0 / 0.5838 GB, free: 4.312 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.287e-05/0.1288, allocations: 83.22 kB / 0.5839 GB, free: 4.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1288, allocations: 0 / 0.5839 GB, free: 4.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001881/0.129, allocations: 19.98 kB / 0.5839 GB, free: 4.211 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 (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.0003276/0.1293, allocations: 0.6187 MB / 0.5845 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.132e-05/0.1294, allocations: 8 kB / 0.5845 GB, free: 3.559 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1294, allocations: 0 / 0.5845 GB, free: 3.559 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.518e-05/0.1294, allocations: 15.92 kB / 0.5846 GB, free: 3.543 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.1296, allocations: 13.83 kB / 0.5846 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.1304, allocations: 1.095 MB / 0.5856 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.1306, allocations: 0.6729 MB / 0.5863 GB, free: 1.656 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.466e-05/0.1307, allocations: 3.984 kB / 0.5863 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.1307, allocations: 11.44 kB / 0.5863 GB, free: 1.645 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1307, allocations: 0 / 0.5863 GB, free: 1.645 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08217/0.2129, allocations: 1.32 MB / 0.5876 GB, free: 472 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/0.2131, allocations: 191.9 kB / 0.5878 GB, free: 212 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.763, allocations: 0 / 0.5878 GB, free: 212 kB / 494.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)