Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="BuildingSystems_BuildingSystems_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.00138/0.00138, allocations: 108 kB / 15.61 MB, free: 152 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.001436/0.001436, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 290.9 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8475/0.8475, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 108.5 kB / 0.5954 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1167, allocations: 86.97 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002239/0.119, allocations: 1.438 MB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1202, allocations: 0.8841 MB / 0.6826 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.1203, allocations: 3.438 kB / 0.6826 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.1204, allocations: 7.938 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004527/0.1209, allocations: 131.6 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.1211, allocations: 104.9 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.553e-05/0.1212, allocations: 64.31 kB / 0.6829 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.1212, allocations: 5.906 kB / 0.6829 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.1213, allocations: 39.89 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.451e-05/0.1214, allocations: 35.84 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1214, allocations: 8 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.1217, allocations: 239.6 kB / 0.6832 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.633e-05/0.1218, allocations: 55.81 kB / 0.6832 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.1219, allocations: 59.58 kB / 0.6833 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1222, allocations: 275.2 kB / 0.6835 GB, free: 13.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1222, allocations: 4 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1222, allocations: 0 / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1222, allocations: 0 / 0.6835 GB, free: 13.25 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.0005712/0.1228, allocations: 0.4906 MB / 0.684 GB, free: 12.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.1228, allocations: 16.03 kB / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.468e-05/0.1229, allocations: 30.75 kB / 0.6841 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.1229, allocations: 16.75 kB / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.1234, allocations: 0.651 MB / 0.6847 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1234, allocations: 8.312 kB / 0.6847 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.1234, allocations: 3.938 kB / 0.6847 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1236, allocations: 73.66 kB / 0.6848 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1236, allocations: 3.984 kB / 0.6848 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.1236, allocations: 0 / 0.6848 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1236, allocations: 4 kB / 0.6848 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.1238, allocations: 75.94 kB / 0.6849 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.1241, allocations: 329.5 kB / 0.6852 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.1243, allocations: 118.4 kB / 0.6853 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1244, allocations: 52.88 kB / 0.6854 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.1245, allocations: 15.98 kB / 0.6854 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.1245, allocations: 38.55 kB / 0.6854 GB, free: 11.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1245, allocations: 0 / 0.6854 GB, free: 11.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000364/0.1249, allocations: 165.3 kB / 0.6856 GB, free: 11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.1249, allocations: 51.41 kB / 0.6856 GB, free: 10.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.1255, allocations: 0.7781 MB / 0.6864 GB, free: 10.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.1255, allocations: 29.69 kB / 0.6864 GB, free: 10.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.1256, allocations: 128.1 kB / 0.6865 GB, free: 9.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.1256, allocations: 15.84 kB / 0.6865 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1256, allocations: 13.72 kB / 0.6866 GB, free: 9.953 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.1257, allocations: 330.8 kB / 0.6869 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.547e-05/0.1258, allocations: 39.97 kB / 0.6869 GB, free: 9.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.126, allocations: 62.55 kB / 0.687 GB, free: 9.512 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.1261, allocations: 88.78 kB / 0.6871 GB, free: 9.422 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1261, allocations: 0 / 0.6871 GB, free: 9.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000236/0.1264, allocations: 129.4 kB / 0.6872 GB, free: 9.289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.1264, allocations: 8.031 kB / 0.6872 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1264, allocations: 0 / 0.6872 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.1264, allocations: 7.922 kB / 0.6872 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.1265, allocations: 12 kB / 0.6872 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1265, allocations: 0 / 0.6872 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.691e-05/0.1266, allocations: 11.98 kB / 0.6872 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.1266, allocations: 0 / 0.6872 GB, free: 9.25 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 (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 8.056e-05/0.1267, allocations: 135.1 kB / 0.6873 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.1267, allocations: 19.72 kB / 0.6874 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.127, allocations: 142.8 kB / 0.6875 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.127, allocations: 384 / 0.6875 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.127, allocations: 0 / 0.6875 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.127, allocations: 4 kB / 0.6875 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.1272, allocations: 233.5 kB / 0.6877 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1272, allocations: 0 / 0.6877 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.1273, allocations: 15.92 kB / 0.6877 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1273, allocations: 3.984 kB / 0.6877 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1273, allocations: 11.94 kB / 0.6878 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1273, allocations: 0 / 0.6878 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1273, allocations: 0 / 0.6878 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1275, allocations: 156.8 kB / 0.6879 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.1276, allocations: 96.91 kB / 0.688 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.1276, allocations: 0 / 0.688 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.1277, allocations: 11.98 kB / 0.688 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.1277, allocations: 8 kB / 0.688 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1277, allocations: 0 / 0.688 GB, free: 8.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004495/0.1282, allocations: 0.6174 MB / 0.6886 GB, free: 7.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1282, allocations: 0 / 0.6886 GB, free: 7.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1285, allocations: 68 kB / 0.6887 GB, free: 7.637 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 (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.0005879/0.1291, allocations: 0.7526 MB / 0.6894 GB, free: 6.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.1293, allocations: 91.92 kB / 0.6895 GB, free: 6.766 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1293, allocations: 0 / 0.6895 GB, free: 6.766 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/0.1294, allocations: 43.91 kB / 0.6895 GB, free: 6.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.1296, allocations: 17.31 kB / 0.6896 GB, free: 6.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.1324, allocations: 3.305 MB / 0.6928 GB, free: 3.332 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1327, allocations: 0.7278 MB / 0.6935 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.104e-05/0.1327, allocations: 24.64 kB / 0.6935 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.1328, allocations: 61.97 kB / 0.6936 GB, free: 2.496 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1328, allocations: 0 / 0.6936 GB, free: 2.496 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.87/4.003, allocations: 4.553 MB / 0.698 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/17.96, allocations: 15.55 kB / 0.698 GB, free: 14.08 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)