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.001671/0.001671, allocations: 109.2 kB / 16.41 MB, free: 6.402 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.00184/0.00184, allocations: 193.2 kB / 17.34 MB, free: 5.691 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7682/0.7682, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 63.83 kB / 0.5735 GB, free: 26.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1283, allocations: 78.87 MB / 0.6506 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002379/0.1308, allocations: 1.436 MB / 0.652 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1321, allocations: 0.8869 MB / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.1322, allocations: 0 / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1323, allocations: 11.92 kB / 0.6528 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000497/0.1328, allocations: 135.6 kB / 0.653 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1331, allocations: 98.64 kB / 0.6531 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1332, allocations: 63.81 kB / 0.6531 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.1332, allocations: 7.984 kB / 0.6531 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.746e-05/0.1333, allocations: 39.78 kB / 0.6532 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.1334, allocations: 51.69 kB / 0.6532 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1335, allocations: 4 kB / 0.6532 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.1338, allocations: 239.6 kB / 0.6534 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.885e-05/0.1339, allocations: 51.88 kB / 0.6535 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.134, allocations: 63.53 kB / 0.6536 GB, free: 496 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.1344, allocations: 283.2 kB / 0.6538 GB, free: 212 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1344, allocations: 0 / 0.6538 GB, free: 212 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1344, allocations: 0 / 0.6538 GB, free: 212 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1344, allocations: 0 / 0.6538 GB, free: 212 kB / 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.0006946/0.1351, allocations: 0.5097 MB / 0.6543 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.1352, allocations: 8.031 kB / 0.6543 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.1352, allocations: 34.75 kB / 0.6544 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.1352, allocations: 16.84 kB / 0.6544 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.1358, allocations: 0.6512 MB / 0.655 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1359, allocations: 8.062 kB / 0.655 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1359, allocations: 4 kB / 0.655 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1361, allocations: 69.67 kB / 0.6551 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1361, allocations: 3.984 kB / 0.6551 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.1361, allocations: 4 kB / 0.6551 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1361, allocations: 3.984 kB / 0.6551 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.1363, allocations: 75.94 kB / 0.6552 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.1366, allocations: 321.6 kB / 0.6555 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.1369, allocations: 122.5 kB / 0.6556 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.137, allocations: 48.83 kB / 0.6556 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.1371, allocations: 19.97 kB / 0.6557 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1371, allocations: 30.56 kB / 0.6557 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1371, allocations: 3.938 kB / 0.6557 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004145/0.1375, allocations: 173.5 kB / 0.6559 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.1376, allocations: 51.41 kB / 0.6559 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006951/0.1383, allocations: 0.7703 MB / 0.6567 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1383, allocations: 29.7 kB / 0.6567 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.1384, allocations: 132 kB / 0.6568 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.1384, allocations: 11.91 kB / 0.6568 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.1384, allocations: 13.72 kB / 0.6568 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1386, allocations: 334.8 kB / 0.6572 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1387, allocations: 43.95 kB / 0.6572 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1388, allocations: 58.55 kB / 0.6573 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.139, allocations: 84.8 kB / 0.6573 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.139, allocations: 3.938 kB / 0.6573 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002511/0.1393, allocations: 129.6 kB / 0.6575 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1393, allocations: 9.812 kB / 0.6575 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1393, allocations: 7.984 kB / 0.6575 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1393, allocations: 3.938 kB / 0.6575 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.1394, allocations: 11.98 kB / 0.6575 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1394, allocations: 0 / 0.6575 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.736e-05/0.1395, allocations: 11.98 kB / 0.6575 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1395, allocations: 4 kB / 0.6575 GB, free: 12.18 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 0.0001018/0.1397, allocations: 133.8 kB / 0.6576 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.1397, allocations: 19.86 kB / 0.6577 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.14, allocations: 138.9 kB / 0.6578 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.14, allocations: 0 / 0.6578 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.14, allocations: 0 / 0.6578 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.14, allocations: 384 / 0.6578 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.1402, allocations: 237.5 kB / 0.658 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1402, allocations: 4 kB / 0.658 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.1403, allocations: 7.938 kB / 0.658 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1403, allocations: 4 kB / 0.658 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1403, allocations: 0 / 0.658 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1403, allocations: 3.984 kB / 0.658 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1403, allocations: 0 / 0.658 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.1406, allocations: 160.9 kB / 0.6582 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.1407, allocations: 108.9 kB / 0.6583 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.1407, allocations: 3.938 kB / 0.6583 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.1408, allocations: 7.984 kB / 0.6583 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.1408, allocations: 4 kB / 0.6583 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1408, allocations: 4 kB / 0.6583 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005493/0.1414, allocations: 0.6174 MB / 0.6589 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1414, allocations: 0 / 0.6589 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003057/0.1417, allocations: 71.88 kB / 0.659 GB, free: 10.57 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.0007412/0.1425, allocations: 0.7507 MB / 0.6597 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002746/0.1428, allocations: 87.92 kB / 0.6598 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1428, allocations: 4 kB / 0.6598 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1429, allocations: 43.91 kB / 0.6599 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.1431, allocations: 16.56 kB / 0.6599 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.1465, allocations: 3.309 MB / 0.6631 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1468, allocations: 0.7278 MB / 0.6638 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.82e-05/0.1469, allocations: 20.64 kB / 0.6638 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.147, allocations: 55.41 kB / 0.6639 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.147, allocations: 0 / 0.6639 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.1708, allocations: 4.587 MB / 0.6684 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/7.582, allocations: 0 / 0.6684 GB, free: 0.9727 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)