Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.WindPressureProfile,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",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.001381/0.001381, allocations: 103.4 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.001352/0.001352, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.129/1.129, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.769/0.769, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001084, allocations: 68.11 kB / 0.505 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1164, allocations: 80.93 MB / 0.584 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00204/0.1184, allocations: 1.508 MB / 0.5855 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1196, allocations: 0.8852 MB / 0.5863 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.1196, allocations: 0 / 0.5863 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.1198, allocations: 15.92 kB / 0.5863 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.1202, allocations: 115.8 kB / 0.5865 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1204, allocations: 83.84 kB / 0.5865 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.529e-05/0.1205, allocations: 67.81 kB / 0.5866 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.052e-05/0.1206, allocations: 0 / 0.5866 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.1206, allocations: 39.84 kB / 0.5866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.822e-05/0.1207, allocations: 51.88 kB / 0.5867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1208, allocations: 4 kB / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.1211, allocations: 223.7 kB / 0.5869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.1211, allocations: 55.81 kB / 0.587 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.1212, allocations: 63.59 kB / 0.587 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.1215, allocations: 279.4 kB / 0.5873 GB, free: 1.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.1215, allocations: 0 / 0.5873 GB, free: 1.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1215, allocations: 4 kB / 0.5873 GB, free: 1.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.1215, allocations: 3.938 kB / 0.5873 GB, free: 1.414 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.0005741/0.1221, allocations: 0.4983 MB / 0.5878 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.1221, allocations: 8.031 kB / 0.5878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.1222, allocations: 34.75 kB / 0.5878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1222, allocations: 16.75 kB / 0.5878 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.1227, allocations: 0.651 MB / 0.5885 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-06/0.1227, allocations: 384 / 0.5885 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.1227, allocations: 15.92 kB / 0.5885 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1229, allocations: 69.61 kB / 0.5886 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.1229, allocations: 0 / 0.5886 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.1229, allocations: 11.98 kB / 0.5886 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.1229, allocations: 0 / 0.5886 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.1231, allocations: 75.94 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.1234, allocations: 317.6 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.1236, allocations: 122.5 kB / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.391e-05/0.1237, allocations: 44.83 kB / 0.5891 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.1238, allocations: 19.97 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.1238, allocations: 34.5 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1238, allocations: 3.938 kB / 0.5892 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003568/0.1241, allocations: 173.4 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.1242, allocations: 51.41 kB / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/0.1248, allocations: 0.7703 MB / 0.5901 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1248, allocations: 29.7 kB / 0.5902 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.641e-05/0.1249, allocations: 132.1 kB / 0.5903 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.1249, allocations: 3.906 kB / 0.5903 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.1249, allocations: 21.72 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.125, allocations: 330.8 kB / 0.5906 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.05e-05/0.1251, allocations: 43.89 kB / 0.5907 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1253, allocations: 62.48 kB / 0.5907 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.1254, allocations: 88.8 kB / 0.5908 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1254, allocations: 4.031 kB / 0.5908 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002189/0.1257, allocations: 137.3 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1257, allocations: 8 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1257, allocations: 0 / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.1257, allocations: 0 / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.1258, allocations: 11.98 kB / 0.591 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1258, allocations: 0 / 0.591 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.034e-05/0.1259, allocations: 15.92 kB / 0.591 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1259, allocations: 4 kB / 0.591 GB, free: 13.39 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 7.971e-05/0.126, allocations: 137.7 kB / 0.5911 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.126, allocations: 15.81 kB / 0.5911 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.1263, allocations: 139.2 kB / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1263, allocations: 0 / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1263, allocations: 0 / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1263, allocations: 0 / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.1264, allocations: 241.5 kB / 0.5915 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1264, allocations: 0 / 0.5915 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.1265, allocations: 8 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1265, allocations: 0 / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.1265, allocations: 0 / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1265, allocations: 3.984 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1265, allocations: 0 / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.1268, allocations: 160.8 kB / 0.5917 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.1268, allocations: 104.8 kB / 0.5918 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.1269, allocations: 4 kB / 0.5918 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.1269, allocations: 7.984 kB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.127, allocations: 0 / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.127, allocations: 4 kB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004334/0.1274, allocations: 0.6213 MB / 0.5924 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1274, allocations: 0 / 0.5924 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002586/0.1277, allocations: 72 kB / 0.5924 GB, free: 11.79 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.0005754/0.1283, allocations: 0.7565 MB / 0.5932 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.1285, allocations: 91.92 kB / 0.5933 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1285, allocations: 0 / 0.5933 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.234e-05/0.1286, allocations: 43.97 kB / 0.5933 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.1288, allocations: 8.562 kB / 0.5933 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.1316, allocations: 3.318 MB / 0.5966 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1318, allocations: 0.724 MB / 0.5973 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.828e-05/0.1319, allocations: 21.02 kB / 0.5973 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.1319, allocations: 51.42 kB / 0.5973 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1319, allocations: 0 / 0.5973 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.1579, allocations: 4.41 MB / 0.6016 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.1581, allocations: 220.3 kB / 0.6019 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/1.693, allocations: 0 / 0.6019 GB, free: 2.16 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)