Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_dev_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.001744/0.001744, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001813/0.001813, allocations: 195.9 kB / 16.14 MB, free: 6.688 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.188/1.188, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8077/0.8077, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 64.47 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1242, allocations: 80.92 MB / 0.5838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002016/0.1262, allocations: 1.354 MB / 0.5851 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004811/0.1267, allocations: 316.6 kB / 0.5854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.417e-05/0.1267, allocations: 0 / 0.5854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.1267, allocations: 0 / 0.5854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.1268, allocations: 7.922 kB / 0.5854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.127, allocations: 67.78 kB / 0.5855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.007e-05/0.1271, allocations: 31.92 kB / 0.5855 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.1271, allocations: 3.984 kB / 0.5855 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.67e-05/0.1272, allocations: 19.88 kB / 0.5856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.1273, allocations: 19.92 kB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1273, allocations: 0 / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1274, allocations: 83.91 kB / 0.5857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.1274, allocations: 0 / 0.5857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.1275, allocations: 19.86 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.1276, allocations: 76.06 kB / 0.5858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1276, allocations: 0 / 0.5858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1276, allocations: 0 / 0.5858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.1276, allocations: 3.938 kB / 0.5858 GB, free: 2.871 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003016/0.1279, allocations: 361.4 kB / 0.5861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.128, allocations: 12.03 kB / 0.5861 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.128, allocations: 34.75 kB / 0.5861 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.128, allocations: 4.938 kB / 0.5862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.201e-05/0.1281, allocations: 164.3 kB / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.1281, allocations: 4.375 kB / 0.5863 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.1282, allocations: 384 / 0.5863 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.136e-05/0.1282, allocations: 45.61 kB / 0.5864 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-06/0.1283, allocations: 0 / 0.5864 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1283, allocations: 4 kB / 0.5864 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1283, allocations: 0 / 0.5864 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.489e-05/0.1283, allocations: 11.92 kB / 0.5864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.1284, allocations: 161.7 kB / 0.5865 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.972e-05/0.1285, allocations: 34.56 kB / 0.5866 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.1286, allocations: 12.92 kB / 0.5866 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009298/0.1295, allocations: 1.187 MB / 0.5877 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.1295, allocations: 34.56 kB / 0.5878 GB, free: 400 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1295, allocations: 0 / 0.5878 GB, free: 400 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001215/0.1296, allocations: 53.56 kB / 0.5878 GB, free: 340 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.1297, allocations: 55.41 kB / 0.5879 GB, free: 272 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.722e-05/0.1297, allocations: 105.8 kB / 0.588 GB, free: 156 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1298, allocations: 33.64 kB / 0.588 GB, free: 116 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.1298, allocations: 84.14 kB / 0.5881 GB, free: 28 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.1298, allocations: 11.75 kB / 0.5881 GB, free: 16 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.1299, allocations: 13.72 kB / 0.5881 GB, free: 16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.1299, allocations: 322.8 kB / 0.5884 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.13, allocations: 0 / 0.5884 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.13, allocations: 4 kB / 0.5884 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.214e-05/0.13, allocations: 16.86 kB / 0.5884 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.13, allocations: 4 kB / 0.5884 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.646e-05/0.1301, allocations: 53.56 kB / 0.5885 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.1301, allocations: 4 kB / 0.5885 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.1301, allocations: 4 kB / 0.5885 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.1301, allocations: 0 / 0.5885 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.183e-05/0.1302, allocations: 4 kB / 0.5885 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1302, allocations: 3.984 kB / 0.5885 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.1302, allocations: 0 / 0.5885 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.1302, allocations: 0 / 0.5885 GB, free: 15.57 MB / 0.4981 GB 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 5.424e-05/0.1303, allocations: 113.8 kB / 0.5886 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.1303, allocations: 7.844 kB / 0.5886 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.1304, allocations: 65.53 kB / 0.5887 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1304, allocations: 384 / 0.5887 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1304, allocations: 0 / 0.5887 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1304, allocations: 4 kB / 0.5887 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.25e-05/0.1305, allocations: 157.7 kB / 0.5888 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1305, allocations: 3.938 kB / 0.5888 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.1306, allocations: 8 kB / 0.5888 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1306, allocations: 3.984 kB / 0.5888 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1306, allocations: 4 kB / 0.5889 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1306, allocations: 0 / 0.5889 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1306, allocations: 0 / 0.5889 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.961e-05/0.1307, allocations: 69.12 kB / 0.5889 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.1307, allocations: 96.88 kB / 0.589 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.1307, allocations: 0 / 0.589 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.1308, allocations: 8 kB / 0.589 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.1308, allocations: 0 / 0.589 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1308, allocations: 3.938 kB / 0.589 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.993e-05/0.1308, allocations: 91.27 kB / 0.5891 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1309, allocations: 0 / 0.5891 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001934/0.1311, allocations: 27.94 kB / 0.5891 GB, free: 14.81 MB / 0.4981 GB 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.0003558/0.1314, allocations: 0.6397 MB / 0.5898 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.276e-05/0.1315, allocations: 19.92 kB / 0.5898 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1315, allocations: 0 / 0.5898 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.58e-05/0.1315, allocations: 8 kB / 0.5898 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.1317, allocations: 4 kB / 0.5898 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.132, allocations: 173.5 kB / 0.59 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.1322, allocations: 0.6809 MB / 0.5906 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.1322, allocations: 4 kB / 0.5906 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.1323, allocations: 13.28 kB / 0.5906 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of SimCode: time 1.332e-06/0.1323, allocations: 4 kB / 0.5906 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7115/0.8437, allocations: 1.491 MB / 0.5921 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.844, allocations: 210.4 kB / 0.5923 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.647, allocations: 3.938 kB / 0.5923 GB, free: 11.56 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)