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.001177/0.001177, 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.001163/0.001163, allocations: 192.5 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.166/1.166, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7856/0.7856, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 64.94 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1106, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001849/0.1125, allocations: 1.28 MB / 0.5857 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004241/0.1129, allocations: 306.9 kB / 0.586 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.113, allocations: 0 / 0.586 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.113, allocations: 3.938 kB / 0.586 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.502e-05/0.1131, allocations: 7.922 kB / 0.586 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1133, allocations: 87.7 kB / 0.5861 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.143e-05/0.1134, allocations: 35.91 kB / 0.5861 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.081e-05/0.1134, allocations: 0 / 0.5861 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.1135, allocations: 27.86 kB / 0.5862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.675e-05/0.1135, allocations: 11.94 kB / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.1135, allocations: 0 / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1137, allocations: 83.91 kB / 0.5863 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.1137, allocations: 0 / 0.5863 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.1137, allocations: 15.92 kB / 0.5863 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.1138, allocations: 76.06 kB / 0.5864 GB, free: 2.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1139, allocations: 0 / 0.5864 GB, free: 2.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1139, allocations: 0 / 0.5864 GB, free: 2.508 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1139, allocations: 0 / 0.5864 GB, free: 2.508 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.0002864/0.1142, allocations: 359.3 kB / 0.5867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.1142, allocations: 12.03 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.532e-05/0.1142, allocations: 38.75 kB / 0.5867 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.1143, allocations: 0.9375 kB / 0.5867 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.607e-05/0.1143, allocations: 180.2 kB / 0.5869 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.1144, allocations: 4.312 kB / 0.5869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.1144, allocations: 384 / 0.5869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.796e-05/0.1144, allocations: 45.62 kB / 0.587 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.1145, allocations: 0 / 0.587 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.1145, allocations: 0 / 0.587 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1145, allocations: 0 / 0.587 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.023e-05/0.1145, allocations: 8 kB / 0.587 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.1146, allocations: 157.7 kB / 0.5871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.1147, allocations: 42.48 kB / 0.5872 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.1147, allocations: 12.92 kB / 0.5872 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008838/0.1156, allocations: 1.191 MB / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.1157, allocations: 30.56 kB / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1157, allocations: 0 / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001278/0.1158, allocations: 49.73 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.1158, allocations: 51.41 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.475e-05/0.1159, allocations: 105.8 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.1159, allocations: 29.64 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.1159, allocations: 88.14 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1159, allocations: 15.75 kB / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.116, allocations: 17.7 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.116, allocations: 314.8 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.1161, allocations: 4 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.1161, allocations: 4 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/0.1161, allocations: 20.84 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1161, allocations: 0 / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.276e-05/0.1162, allocations: 49.92 kB / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.1162, allocations: 6.188 kB / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.1162, allocations: 3.938 kB / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.1162, allocations: 8.016 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.038e-05/0.1163, allocations: 7.938 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.1163, allocations: 0 / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.1163, allocations: 8 kB / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.1163, allocations: 0 / 0.5891 GB, free: 15.19 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 4.843e-05/0.1164, allocations: 105.8 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.1164, allocations: 15.84 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.1165, allocations: 61.58 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1165, allocations: 0 / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1165, allocations: 0 / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1165, allocations: 0 / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.672e-05/0.1166, allocations: 153.7 kB / 0.5894 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1166, allocations: 7.938 kB / 0.5894 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.1166, allocations: 7.938 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1166, allocations: 4 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.1166, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1166, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1167, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.172e-05/0.1167, allocations: 73.12 kB / 0.5895 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.1168, allocations: 92.94 kB / 0.5896 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.1168, allocations: 0 / 0.5896 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.1168, allocations: 0 / 0.5896 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-06/0.1169, allocations: 7.938 kB / 0.5896 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.1169, allocations: 7.984 kB / 0.5896 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.127e-05/0.1169, allocations: 83.28 kB / 0.5897 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1169, allocations: 0 / 0.5897 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001844/0.1171, allocations: 27.94 kB / 0.5897 GB, free: 14.44 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.0003179/0.1174, allocations: 0.6436 MB / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.582e-05/0.1175, allocations: 16 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1175, allocations: 0 / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.556e-05/0.1175, allocations: 11.92 kB / 0.5904 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.1177, allocations: 8 kB / 0.5904 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.118, allocations: 173.2 kB / 0.5906 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.1181, allocations: 0.6846 MB / 0.5912 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.1182, allocations: 0 / 0.5912 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.1182, allocations: 14.83 kB / 0.5912 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1182, allocations: 0 / 0.5912 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.679/2.797, allocations: 1.599 MB / 0.5928 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/16.78, allocations: 14.58 kB / 0.5928 GB, free: 11.3 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)