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: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008628/0.0008627, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009926/0.0009928, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001687/0.001687, allocations: 270.6 kB / 291.2 MB, free: 1.996 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7447/0.7447, allocations: 144.6 MB / 487 MB, free: 7.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004502, allocations: 16.84 kB / 0.5683 GB, free: 38.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1336, allocations: 83.08 MB / 0.6494 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001374/0.135, allocations: 1.157 MB / 0.6506 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1361, allocations: 0.8134 MB / 0.6514 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.1362, allocations: 0 / 0.6514 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.1363, allocations: 10.02 kB / 0.6514 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.1367, allocations: 100.4 kB / 0.6515 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.137, allocations: 76.42 kB / 0.6515 GB, free: 1.496 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.137, allocations: 32.47 kB / 0.6516 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.1371, allocations: 9.547 kB / 0.6516 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.702e-05/0.1372, allocations: 35.91 kB / 0.6516 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1373, allocations: 37 kB / 0.6516 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1373, allocations: 4 kB / 0.6516 GB, free: 1.383 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.1377, allocations: 203.6 kB / 0.6518 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.1377, allocations: 48.59 kB / 0.6519 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.1378, allocations: 54.11 kB / 0.6519 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1381, allocations: 195.9 kB / 0.6521 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.1381, allocations: 1.031 kB / 0.6521 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1381, allocations: 0 / 0.6521 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1381, allocations: 0 / 0.6521 GB, free: 0.8867 MB / 446.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.0006906/0.1388, allocations: 488.6 kB / 0.6526 GB, free: 372 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1389, allocations: 8.031 kB / 0.6526 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.1389, allocations: 21.05 kB / 0.6526 GB, free: 344 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006214/0.1396, allocations: 0.6422 MB / 0.6532 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1396, allocations: 3.953 kB / 0.6533 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.1396, allocations: 4.656 kB / 0.6533 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.1398, allocations: 78.78 kB / 0.6533 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1398, allocations: 4.469 kB / 0.6533 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1398, allocations: 0.625 kB / 0.6533 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1399, allocations: 0 / 0.6533 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.1401, allocations: 93.97 kB / 0.6534 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.1404, allocations: 319 kB / 0.6537 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1406, allocations: 120.1 kB / 0.6538 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.1407, allocations: 24.77 kB / 0.6539 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1407, allocations: 35.44 kB / 0.6539 GB, free: 14.92 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.1407, allocations: 0 / 0.6539 GB, free: 14.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004/0.1411, allocations: 192.4 kB / 0.6541 GB, free: 14.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.1412, allocations: 52.28 kB / 0.6541 GB, free: 14.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/0.1418, allocations: 0.7719 MB / 0.6549 GB, free: 13.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1418, allocations: 25.7 kB / 0.6549 GB, free: 13.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.1419, allocations: 132.1 kB / 0.655 GB, free: 13.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.1419, allocations: 3.906 kB / 0.655 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.142, allocations: 4.625 kB / 0.655 GB, free: 13.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1421, allocations: 332.3 kB / 0.6554 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1422, allocations: 44.8 kB / 0.6554 GB, free: 13.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1423, allocations: 65.64 kB / 0.6555 GB, free: 13.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1424, allocations: 55.98 kB / 0.6555 GB, free: 13.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1424, allocations: 1.625 kB / 0.6555 GB, free: 13.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002448/0.1427, allocations: 139.7 kB / 0.6557 GB, free: 13.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1427, allocations: 9.359 kB / 0.6557 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1427, allocations: 0 / 0.6557 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1427, allocations: 0 / 0.6557 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.1428, allocations: 17.08 kB / 0.6557 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1428, allocations: 0 / 0.6557 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.1429, allocations: 16.02 kB / 0.6557 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.143, allocations: 3.938 kB / 0.6557 GB, free: 13.04 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/0.143, allocations: 133.8 kB / 0.6558 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.1431, allocations: 19.72 kB / 0.6558 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.1434, allocations: 158.8 kB / 0.656 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1434, allocations: 0 / 0.656 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1434, allocations: 0 / 0.656 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1434, allocations: 0 / 0.656 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.1436, allocations: 229.6 kB / 0.6562 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1436, allocations: 0 / 0.6562 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.1437, allocations: 11.98 kB / 0.6562 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1437, allocations: 4 kB / 0.6562 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1437, allocations: 3.938 kB / 0.6562 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1437, allocations: 7.953 kB / 0.6562 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1437, allocations: 0 / 0.6562 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.144, allocations: 168.8 kB / 0.6564 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.1441, allocations: 104.9 kB / 0.6565 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.1441, allocations: 0 / 0.6565 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.1442, allocations: 11.98 kB / 0.6565 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.1442, allocations: 3.953 kB / 0.6565 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1442, allocations: 4 kB / 0.6565 GB, free: 12.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005027/0.1448, allocations: 0.6136 MB / 0.6571 GB, free: 11.47 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1448, allocations: 0 / 0.6571 GB, free: 11.47 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.1451, allocations: 79.98 kB / 0.6572 GB, free: 11.39 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002687/0.1454, allocations: 155.2 kB / 0.6573 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.1456, allocations: 91.94 kB / 0.6574 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1456, allocations: 4 kB / 0.6574 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1458, allocations: 55.89 kB / 0.6575 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.1459, allocations: 14.38 kB / 0.6575 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.1464, allocations: 326.6 kB / 0.6578 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1467, allocations: 0.7321 MB / 0.6585 GB, free: 9.973 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7e-05/0.1467, allocations: 36.86 kB / 0.6586 GB, free: 9.934 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.1468, allocations: 15.44 kB / 0.6586 GB, free: 9.918 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1468, allocations: 3.938 kB / 0.6586 GB, free: 9.914 MB / 462.1 MB Notification: Performance of Templates: time 0.004943/0.1517, allocations: 2.476 MB / 0.661 GB, free: 7.453 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) Environment - environmentSimulation: