Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_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.004603/0.004603, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001227/0.001227, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7951/0.7951, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 62.44 kB / 0.5809 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1317, allocations: 80.22 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002398/0.1341, allocations: 1.441 MB / 0.6606 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1355, allocations: 0.8889 MB / 0.6615 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.1356, allocations: 0 / 0.6615 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.1357, allocations: 11.92 kB / 0.6615 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004961/0.1362, allocations: 135.7 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1365, allocations: 103.7 kB / 0.6617 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1366, allocations: 63.81 kB / 0.6618 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.1366, allocations: 4 kB / 0.6618 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.1367, allocations: 43.83 kB / 0.6618 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1368, allocations: 39.84 kB / 0.6619 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1369, allocations: 4 kB / 0.6619 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.1372, allocations: 239.6 kB / 0.6621 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.1373, allocations: 51.88 kB / 0.6621 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.1374, allocations: 67.53 kB / 0.6622 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.1378, allocations: 283.2 kB / 0.6625 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1378, allocations: 0 / 0.6625 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1378, allocations: 0 / 0.6625 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1378, allocations: 0 / 0.6625 GB, free: 7.391 MB / 0.4981 GB 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.0006877/0.1385, allocations: 0.5059 MB / 0.663 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.1385, allocations: 8.031 kB / 0.663 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.1386, allocations: 38.73 kB / 0.663 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.1386, allocations: 24.78 kB / 0.663 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.1392, allocations: 0.6473 MB / 0.6637 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1393, allocations: 4.125 kB / 0.6637 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.1393, allocations: 8 kB / 0.6637 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1395, allocations: 69.59 kB / 0.6637 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1395, allocations: 4 kB / 0.6638 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1395, allocations: 8 kB / 0.6638 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1395, allocations: 0 / 0.6638 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.1397, allocations: 75.94 kB / 0.6638 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.14, allocations: 317.6 kB / 0.6641 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.1403, allocations: 122.5 kB / 0.6643 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1404, allocations: 48.81 kB / 0.6643 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.1405, allocations: 15.98 kB / 0.6643 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1405, allocations: 38.44 kB / 0.6643 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1405, allocations: 0 / 0.6643 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004255/0.1409, allocations: 169.5 kB / 0.6645 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.141, allocations: 55.39 kB / 0.6646 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007358/0.1417, allocations: 0.7703 MB / 0.6653 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1418, allocations: 29.7 kB / 0.6653 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.1419, allocations: 128.1 kB / 0.6655 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.1419, allocations: 7.906 kB / 0.6655 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1419, allocations: 17.72 kB / 0.6655 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1421, allocations: 334.8 kB / 0.6658 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1422, allocations: 43.97 kB / 0.6659 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1423, allocations: 66.47 kB / 0.6659 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.1425, allocations: 84.8 kB / 0.666 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1426, allocations: 3.938 kB / 0.666 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002746/0.1428, allocations: 129.6 kB / 0.6661 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1429, allocations: 5.875 kB / 0.6661 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1429, allocations: 7.984 kB / 0.6661 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1429, allocations: 336 / 0.6661 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.143, allocations: 11.94 kB / 0.6661 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.143, allocations: 0 / 0.6661 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.1431, allocations: 7.984 kB / 0.6662 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1431, allocations: 4 kB / 0.6662 GB, free: 3.371 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.0001097/0.1432, allocations: 141.7 kB / 0.6663 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1432, allocations: 23.84 kB / 0.6663 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.1435, allocations: 134.9 kB / 0.6664 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1435, allocations: 0 / 0.6664 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1436, allocations: 0 / 0.6664 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1436, allocations: 0 / 0.6664 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.1438, allocations: 237.5 kB / 0.6667 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1438, allocations: 0 / 0.6667 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.1438, allocations: 15.98 kB / 0.6667 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1438, allocations: 0 / 0.6667 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1439, allocations: 0 / 0.6667 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1439, allocations: 0 / 0.6667 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1439, allocations: 0 / 0.6667 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.1442, allocations: 160.8 kB / 0.6668 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-05/0.1442, allocations: 104.9 kB / 0.6669 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1443, allocations: 8 kB / 0.6669 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1444, allocations: 7.984 kB / 0.667 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.1444, allocations: 0 / 0.667 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.1444, allocations: 4 kB / 0.667 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005574/0.145, allocations: 0.6174 MB / 0.6676 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.145, allocations: 0 / 0.6676 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002929/0.1453, allocations: 75.86 kB / 0.6676 GB, free: 1.75 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.0007407/0.146, allocations: 0.7488 MB / 0.6684 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.1463, allocations: 83.92 kB / 0.6684 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1463, allocations: 0 / 0.6684 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1464, allocations: 47.97 kB / 0.6685 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.1466, allocations: 8.562 kB / 0.6685 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.1501, allocations: 3.316 MB / 0.6717 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1505, allocations: 0.724 MB / 0.6724 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.576e-05/0.1505, allocations: 32.97 kB / 0.6725 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.1506, allocations: 51.42 kB / 0.6725 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1506, allocations: 3.938 kB / 0.6725 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3227/0.4734, allocations: 4.568 MB / 0.677 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.707, allocations: 7.812 kB / 0.677 GB, free: 8.188 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)