Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IBPSA_latest_IBPSA_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.001009/0.001009, allocations: 106.8 kB / 16.4 MB, free: 6.406 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.0009327/0.0009327, allocations: 193.2 kB / 17.34 MB, free: 5.695 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.212/1.212, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7121/0.7121, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 58.61 kB / 0.568 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1203, allocations: 77.93 MB / 0.6441 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002237/0.1226, allocations: 1.44 MB / 0.6455 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1239, allocations: 0.8862 MB / 0.6463 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.124, allocations: 4 kB / 0.6463 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.1241, allocations: 7.938 kB / 0.6463 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005011/0.1247, allocations: 133.9 kB / 0.6465 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1249, allocations: 99.77 kB / 0.6466 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.686e-05/0.125, allocations: 71.81 kB / 0.6466 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.125, allocations: 0 / 0.6466 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.677e-05/0.1251, allocations: 39.83 kB / 0.6467 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1252, allocations: 43.84 kB / 0.6467 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1253, allocations: 4 kB / 0.6467 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.1256, allocations: 239.6 kB / 0.6469 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-05/0.1257, allocations: 51.88 kB / 0.647 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.1258, allocations: 59.55 kB / 0.647 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.1261, allocations: 287.2 kB / 0.6473 GB, free: 6.188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1261, allocations: 0 / 0.6473 GB, free: 6.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1261, allocations: 0 / 0.6473 GB, free: 6.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1261, allocations: 0 / 0.6473 GB, free: 6.188 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.0006209/0.1267, allocations: 0.5097 MB / 0.6478 GB, free: 5.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1268, allocations: 8.625 kB / 0.6478 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.1268, allocations: 30.75 kB / 0.6479 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.1268, allocations: 16.84 kB / 0.6479 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.1274, allocations: 0.6552 MB / 0.6485 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-06/0.1274, allocations: 8.125 kB / 0.6485 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.1274, allocations: 4 kB / 0.6485 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1276, allocations: 73.59 kB / 0.6486 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1276, allocations: 0 / 0.6486 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1276, allocations: 0 / 0.6486 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1276, allocations: 0 / 0.6486 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.1278, allocations: 83.92 kB / 0.6487 GB, free: 4.699 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.1281, allocations: 321.6 kB / 0.649 GB, free: 4.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.1284, allocations: 118.5 kB / 0.6491 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1285, allocations: 48.83 kB / 0.6491 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.1285, allocations: 23.91 kB / 0.6492 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.1285, allocations: 38.56 kB / 0.6492 GB, free: 4.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1286, allocations: 0 / 0.6492 GB, free: 4.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003988/0.129, allocations: 165.6 kB / 0.6494 GB, free: 3.922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.129, allocations: 55.41 kB / 0.6494 GB, free: 3.855 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/0.1296, allocations: 0.7741 MB / 0.6502 GB, free: 3.074 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1296, allocations: 25.7 kB / 0.6502 GB, free: 3.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.1297, allocations: 128.1 kB / 0.6503 GB, free: 2.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.1297, allocations: 11.91 kB / 0.6503 GB, free: 2.902 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.1298, allocations: 21.7 kB / 0.6503 GB, free: 2.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1299, allocations: 330.8 kB / 0.6507 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.13, allocations: 39.91 kB / 0.6507 GB, free: 2.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1301, allocations: 66.56 kB / 0.6508 GB, free: 2.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1303, allocations: 88.83 kB / 0.6508 GB, free: 2.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1303, allocations: 7.938 kB / 0.6509 GB, free: 2.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002325/0.1305, allocations: 125.5 kB / 0.651 GB, free: 2.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1305, allocations: 4 kB / 0.651 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1306, allocations: 0 / 0.651 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1306, allocations: 4 kB / 0.651 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.1306, allocations: 11.92 kB / 0.651 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1307, allocations: 4 kB / 0.651 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.1308, allocations: 19.94 kB / 0.651 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1308, allocations: 0 / 0.651 GB, free: 2.16 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.793e-05/0.1309, allocations: 133.8 kB / 0.6511 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1309, allocations: 19.89 kB / 0.6512 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.1312, allocations: 130.9 kB / 0.6513 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1312, allocations: 8 kB / 0.6513 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1312, allocations: 3.984 kB / 0.6513 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1312, allocations: 0 / 0.6513 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.1313, allocations: 225.5 kB / 0.6515 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1314, allocations: 0 / 0.6515 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.1314, allocations: 11.98 kB / 0.6515 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1314, allocations: 0 / 0.6515 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1314, allocations: 7.938 kB / 0.6515 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1314, allocations: 0 / 0.6515 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1315, allocations: 0 / 0.6515 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.1317, allocations: 160.9 kB / 0.6517 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.1318, allocations: 105 kB / 0.6518 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1318, allocations: 4 kB / 0.6518 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.1319, allocations: 4 kB / 0.6518 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.1319, allocations: 3.984 kB / 0.6518 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1319, allocations: 7.875 kB / 0.6518 GB, free: 1.242 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000473/0.1324, allocations: 0.6253 MB / 0.6524 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 0 / 0.6524 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1327, allocations: 71.86 kB / 0.6525 GB, free: 0.5469 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.0006418/0.1333, allocations: 0.7529 MB / 0.6532 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.1336, allocations: 87.97 kB / 0.6533 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1336, allocations: 0 / 0.6533 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1337, allocations: 47.91 kB / 0.6534 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.1339, allocations: 16.55 kB / 0.6534 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.1368, allocations: 3.314 MB / 0.6566 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1371, allocations: 0.7278 MB / 0.6573 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.436e-05/0.1372, allocations: 24.62 kB / 0.6573 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.1372, allocations: 47.42 kB / 0.6574 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1372, allocations: 4 kB / 0.6574 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.1567, allocations: 4.575 MB / 0.6619 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.436, allocations: 9.938 kB / 0.6619 GB, free: 6.941 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)