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.001766/0.001766, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001794/0.001794, allocations: 188.5 kB / 16.25 MB, free: 6.633 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.081/1.081, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7463/0.7463, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 64.06 kB / 0.505 GB, free: 5.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1156, allocations: 80.93 MB / 0.584 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001822/0.1174, allocations: 1.345 MB / 0.5853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004299/0.1179, allocations: 304.7 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.1179, allocations: 3.938 kB / 0.5856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.1179, allocations: 3.938 kB / 0.5856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.402e-05/0.118, allocations: 11.92 kB / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.1182, allocations: 75.8 kB / 0.5857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.219e-05/0.1183, allocations: 35.84 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.1183, allocations: 4 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.1184, allocations: 27.86 kB / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.686e-05/0.1185, allocations: 7.938 kB / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.1185, allocations: 0 / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1186, allocations: 83.91 kB / 0.5858 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.1186, allocations: 3.984 kB / 0.5858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.1187, allocations: 19.92 kB / 0.5859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.1188, allocations: 72.06 kB / 0.5859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.1188, allocations: 0 / 0.5859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1188, allocations: 0 / 0.5859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1188, allocations: 4 kB / 0.5859 GB, free: 2.734 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.0002989/0.1191, allocations: 355.3 kB / 0.5863 GB, free: 2.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.1192, allocations: 12.03 kB / 0.5863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.1192, allocations: 34.73 kB / 0.5863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.1192, allocations: 8.938 kB / 0.5863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.269e-05/0.1193, allocations: 164.3 kB / 0.5865 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.1193, allocations: 384 / 0.5865 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.1193, allocations: 4.375 kB / 0.5865 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.859e-05/0.1194, allocations: 41.56 kB / 0.5865 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.1194, allocations: 0 / 0.5865 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.1194, allocations: 8 kB / 0.5865 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1195, allocations: 0 / 0.5865 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.054e-05/0.1195, allocations: 8 kB / 0.5865 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.1196, allocations: 157.7 kB / 0.5867 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.497e-05/0.1197, allocations: 30.58 kB / 0.5867 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.1197, allocations: 16.91 kB / 0.5867 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008959/0.1206, allocations: 1.195 MB / 0.5879 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1207, allocations: 30.56 kB / 0.5879 GB, free: 264 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1207, allocations: 0 / 0.5879 GB, free: 264 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001292/0.1208, allocations: 49.69 kB / 0.588 GB, free: 208 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.1208, allocations: 55.41 kB / 0.588 GB, free: 140 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.1209, allocations: 109.8 kB / 0.5881 GB, free: 20 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1209, allocations: 29.7 kB / 0.5882 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.1209, allocations: 80.14 kB / 0.5882 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.121, allocations: 19.73 kB / 0.5883 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.121, allocations: 13.72 kB / 0.5883 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.1211, allocations: 310.8 kB / 0.5886 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.1211, allocations: 11.94 kB / 0.5886 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.14e-05/0.1211, allocations: 11.98 kB / 0.5886 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.1212, allocations: 20.8 kB / 0.5886 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1212, allocations: 0 / 0.5886 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.737e-05/0.1212, allocations: 49.62 kB / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1213, allocations: 4 kB / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1213, allocations: 0 / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1213, allocations: 0 / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-05/0.1213, allocations: 15.94 kB / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.1213, allocations: 0 / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.1214, allocations: 0 / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.1214, allocations: 7.938 kB / 0.5887 GB, free: 15.42 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.398e-05/0.1214, allocations: 109.8 kB / 0.5888 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.1214, allocations: 7.844 kB / 0.5888 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.1216, allocations: 61.58 kB / 0.5889 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1216, allocations: 0 / 0.5889 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1216, allocations: 0 / 0.5889 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1216, allocations: 0 / 0.5889 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.352e-05/0.1217, allocations: 161.7 kB / 0.589 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1217, allocations: 3.938 kB / 0.589 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.1217, allocations: 4 kB / 0.589 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1217, allocations: 0 / 0.589 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.1217, allocations: 0 / 0.589 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1217, allocations: 3.984 kB / 0.589 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1217, allocations: 7.938 kB / 0.589 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.132e-05/0.1218, allocations: 69.12 kB / 0.5891 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.1219, allocations: 93.38 kB / 0.5892 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.1219, allocations: 0 / 0.5892 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.1219, allocations: 0 / 0.5892 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.1219, allocations: 7.984 kB / 0.5892 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.1219, allocations: 0 / 0.5892 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.122, allocations: 87.28 kB / 0.5893 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.122, allocations: 0 / 0.5893 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001803/0.1222, allocations: 35.92 kB / 0.5893 GB, free: 14.67 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.0003358/0.1225, allocations: 0.6397 MB / 0.5899 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.75e-05/0.1226, allocations: 16 kB / 0.59 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1226, allocations: 0 / 0.59 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.1226, allocations: 11.98 kB / 0.59 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.1228, allocations: 6 kB / 0.59 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.1231, allocations: 191.5 kB / 0.5902 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.1233, allocations: 0.6806 MB / 0.5908 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.816e-05/0.1233, allocations: 8 kB / 0.5908 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.1234, allocations: 13.95 kB / 0.5908 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1234, allocations: 0 / 0.5908 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.1406, allocations: 1.518 MB / 0.5923 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.1408, allocations: 206.5 kB / 0.5925 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.357/1.498, allocations: 0 / 0.5925 GB, free: 11.4 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)