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.001743/0.001744, allocations: 108 kB / 15.6 MB, free: 132 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.00174/0.00174, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.136/1.136, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6624/0.6624, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 64.41 kB / 0.5019 GB, free: 8.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1227, allocations: 80.2 MB / 0.5802 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002191/0.1249, allocations: 1.254 MB / 0.5814 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002618/0.1252, allocations: 127.5 kB / 0.5815 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.1252, allocations: 0 / 0.5815 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.1253, allocations: 3.938 kB / 0.5815 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.1253, allocations: 4 kB / 0.5816 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.1255, allocations: 35.88 kB / 0.5816 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.567e-05/0.1256, allocations: 11.94 kB / 0.5816 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.1256, allocations: 3.938 kB / 0.5816 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.863e-05/0.1256, allocations: 8 kB / 0.5816 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.1257, allocations: 15.92 kB / 0.5816 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1257, allocations: 0 / 0.5816 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1258, allocations: 51.94 kB / 0.5817 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.1258, allocations: 0 / 0.5817 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.1259, allocations: 11.92 kB / 0.5817 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.606e-05/0.126, allocations: 35.95 kB / 0.5817 GB, free: 7.137 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.126, allocations: 0 / 0.5817 GB, free: 7.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.126, allocations: 0 / 0.5817 GB, free: 7.137 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.126, allocations: 0 / 0.5817 GB, free: 7.137 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.0003155/0.1263, allocations: 335.7 kB / 0.582 GB, free: 6.762 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1264, allocations: 12.03 kB / 0.5821 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.1264, allocations: 30.75 kB / 0.5821 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.001e-05/0.1264, allocations: 0.9375 kB / 0.5821 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1265, allocations: 164.4 kB / 0.5822 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1265, allocations: 4.375 kB / 0.5822 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.1265, allocations: 384 / 0.5822 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.452e-05/0.1266, allocations: 41.58 kB / 0.5823 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1266, allocations: 3.984 kB / 0.5823 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.1266, allocations: 4 kB / 0.5823 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1266, allocations: 0 / 0.5823 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.1267, allocations: 4 kB / 0.5823 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.1268, allocations: 157.6 kB / 0.5824 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.133e-05/0.1269, allocations: 18.58 kB / 0.5825 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.1269, allocations: 12.92 kB / 0.5825 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006198/0.1275, allocations: 0.609 MB / 0.5831 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.1275, allocations: 34.56 kB / 0.5831 GB, free: 5.422 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.1275, allocations: 3.938 kB / 0.5831 GB, free: 5.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001177/0.1277, allocations: 41.69 kB / 0.5831 GB, free: 5.371 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.1277, allocations: 51.41 kB / 0.5832 GB, free: 5.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.348e-05/0.1278, allocations: 93.86 kB / 0.5833 GB, free: 5.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.1278, allocations: 33.64 kB / 0.5833 GB, free: 5.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.1278, allocations: 88.27 kB / 0.5834 GB, free: 5.078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.1278, allocations: 7.891 kB / 0.5834 GB, free: 5.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.1279, allocations: 9.719 kB / 0.5834 GB, free: 5.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.1279, allocations: 318.8 kB / 0.5837 GB, free: 4.734 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.128, allocations: 0 / 0.5837 GB, free: 4.734 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/0.128, allocations: 4 kB / 0.5837 GB, free: 4.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/0.128, allocations: 12.8 kB / 0.5837 GB, free: 4.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.128, allocations: 0 / 0.5837 GB, free: 4.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.964e-05/0.1281, allocations: 53.59 kB / 0.5838 GB, free: 4.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1281, allocations: 8 kB / 0.5838 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1281, allocations: 3.984 kB / 0.5838 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1281, allocations: 4 kB / 0.5838 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.371e-05/0.1282, allocations: 4 kB / 0.5838 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1282, allocations: 0 / 0.5838 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.1282, allocations: 0 / 0.5838 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.1282, allocations: 0 / 0.5838 GB, free: 4.637 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.447e-05/0.1283, allocations: 109.8 kB / 0.5839 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.1283, allocations: 11.97 kB / 0.5839 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.177e-05/0.1284, allocations: 52.75 kB / 0.584 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1284, allocations: 0 / 0.584 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.1284, allocations: 0 / 0.584 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.1284, allocations: 0 / 0.584 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.425e-05/0.1285, allocations: 153.7 kB / 0.5841 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1285, allocations: 3.938 kB / 0.5841 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.1285, allocations: 4 kB / 0.5841 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1285, allocations: 3.938 kB / 0.5841 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1285, allocations: 32 / 0.5841 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1285, allocations: 7.984 kB / 0.5841 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1285, allocations: 0 / 0.5841 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.359e-05/0.1286, allocations: 65.08 kB / 0.5842 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.1287, allocations: 81.05 kB / 0.5843 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1287, allocations: 3.984 kB / 0.5843 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.1287, allocations: 4 kB / 0.5843 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.1287, allocations: 4 kB / 0.5843 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.1287, allocations: 4.031 kB / 0.5843 GB, free: 4.031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.805e-05/0.1287, allocations: 79.28 kB / 0.5844 GB, free: 3.953 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1288, allocations: 0 / 0.5844 GB, free: 3.953 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.129, allocations: 16 kB / 0.5844 GB, free: 3.938 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.0003095/0.1293, allocations: 0.6163 MB / 0.585 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.68e-05/0.1293, allocations: 19.88 kB / 0.585 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1294, allocations: 0 / 0.585 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.1294, allocations: 4 kB / 0.585 GB, free: 3.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.1296, allocations: 7.984 kB / 0.585 GB, free: 3.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.1303, allocations: 1.091 MB / 0.5861 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.1305, allocations: 0.6768 MB / 0.5867 GB, free: 1.387 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.253e-05/0.1306, allocations: 4.109 kB / 0.5867 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.1306, allocations: 11.44 kB / 0.5868 GB, free: 1.375 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1306, allocations: 0 / 0.5868 GB, free: 1.375 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8011/0.9317, allocations: 1.393 MB / 0.5881 GB, free: 72 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/11.03, allocations: 2.297 kB / 0.5881 GB, free: 72 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)