Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",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.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001181/0.001181, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.861/0.861, allocations: 143.1 MB / 433 MB, free: 11.46 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 71.89 kB / 0.5136 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1332, allocations: 82.05 MB / 0.5937 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003236/0.1364, allocations: 2.605 MB / 0.5963 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000749/0.1372, allocations: 0.5999 MB / 0.5968 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1373, allocations: 7.938 kB / 0.5968 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.1375, allocations: 43.64 kB / 0.5969 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.1376, allocations: 55.53 kB / 0.5969 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.1378, allocations: 79.88 kB / 0.597 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.1381, allocations: 302.7 kB / 0.5973 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.1383, allocations: 161.4 kB / 0.5975 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.1385, allocations: 99.58 kB / 0.5976 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1386, allocations: 127.3 kB / 0.5977 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.1387, allocations: 16 kB / 0.5977 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.793e-05/0.1387, allocations: 20 kB / 0.5977 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.1388, allocations: 51.77 kB / 0.5978 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1389, allocations: 139.2 kB / 0.5979 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1391, allocations: 318.9 kB / 0.5982 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1391, allocations: 0 / 0.5982 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.62e-07/0.1391, allocations: 0 / 0.5982 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.1392, allocations: 0 / 0.5982 GB, free: 5.352 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007371/0.1399, allocations: 0.5691 MB / 0.5988 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1399, allocations: 12.03 kB / 0.5988 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.743e-05/0.14, allocations: 58.73 kB / 0.5988 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.1401, allocations: 36.47 kB / 0.5989 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.1403, allocations: 267.7 kB / 0.5991 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.1404, allocations: 16.94 kB / 0.5991 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.1404, allocations: 24.38 kB / 0.5992 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.1408, allocations: 221 kB / 0.5994 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1408, allocations: 0 / 0.5994 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.1408, allocations: 16 kB / 0.5994 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1408, allocations: 11.92 kB / 0.5994 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.1412, allocations: 170.1 kB / 0.5996 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1422, allocations: 0.8794 MB / 0.6004 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.1426, allocations: 122.7 kB / 0.6005 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1427, allocations: 52.83 kB / 0.6006 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.1427, allocations: 4 kB / 0.6006 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.1428, allocations: 34.56 kB / 0.6006 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1428, allocations: 3.938 kB / 0.6006 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003987/0.1432, allocations: 165.5 kB / 0.6008 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.1432, allocations: 51.41 kB / 0.6008 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.1435, allocations: 287 kB / 0.6011 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1435, allocations: 29.7 kB / 0.6011 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1436, allocations: 172 kB / 0.6013 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.1436, allocations: 27.56 kB / 0.6013 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.1437, allocations: 29.7 kB / 0.6013 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1438, allocations: 334.8 kB / 0.6017 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-05/0.1439, allocations: 31.98 kB / 0.6017 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.151e-05/0.144, allocations: 47.91 kB / 0.6017 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.1442, allocations: 84.78 kB / 0.6018 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.1442, allocations: 3.984 kB / 0.6018 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002455/0.1445, allocations: 137.3 kB / 0.602 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1445, allocations: 4 kB / 0.602 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1445, allocations: 4 kB / 0.602 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1445, allocations: 3.984 kB / 0.602 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1447, allocations: 27.92 kB / 0.602 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1447, allocations: 3.938 kB / 0.602 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1448, allocations: 19.83 kB / 0.602 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1448, allocations: 4 kB / 0.602 GB, free: 1.164 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: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000112/0.1449, allocations: 133.8 kB / 0.6021 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.145, allocations: 23.72 kB / 0.6022 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.145, allocations: 25.78 kB / 0.6022 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.145, allocations: 8 kB / 0.6022 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1451, allocations: 3.938 kB / 0.6022 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1451, allocations: 0 / 0.6022 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.1453, allocations: 297.3 kB / 0.6025 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1454, allocations: 0 / 0.6025 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.1455, allocations: 19.98 kB / 0.6025 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1455, allocations: 0 / 0.6025 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1455, allocations: 4 kB / 0.6025 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1455, allocations: 11.86 kB / 0.6025 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1455, allocations: 4.312 kB / 0.6025 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.1458, allocations: 231.2 kB / 0.6027 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.1459, allocations: 104.8 kB / 0.6028 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.1459, allocations: 0 / 0.6028 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.1461, allocations: 19.97 kB / 0.6029 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1461, allocations: 11.92 kB / 0.6029 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.1461, allocations: 7.984 kB / 0.6029 GB, free: 184 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2298/0.3759, allocations: 196.9 kB / 0.6031 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.42e-07/0.376, allocations: 0 / 0.6031 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003673/0.3763, allocations: 46.83 kB / 0.6031 GB, free: 44.27 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: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0005528/0.3769, allocations: 0.7614 MB / 0.6039 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.3772, allocations: 93.84 kB / 0.604 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3772, allocations: 0 / 0.604 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.926e-05/0.3773, allocations: 49.5 kB / 0.604 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.3777, allocations: 42.88 kB / 0.604 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.3797, allocations: 2.263 MB / 0.6063 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.3798, allocations: 0.7497 MB / 0.607 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.804e-05/0.3799, allocations: 23.73 kB / 0.607 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.38, allocations: 80.69 kB / 0.6071 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.38, allocations: 2.516 kB / 0.6071 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.3921, allocations: 4.178 MB / 0.6112 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001096/0.3923, allocations: 199 kB / 0.6114 GB, free: 41.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/1.961, allocations: 7.938 kB / 0.6114 GB, free: 41.02 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation.fmu > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1)