Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.00106/0.00106, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001026/0.001026, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7408/0.7408, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 68.52 kB / 0.568 GB, free: 29.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1159, allocations: 77.93 MB / 0.6441 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001922/0.1179, allocations: 1.23 MB / 0.6453 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1192, allocations: 1.005 MB / 0.6463 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.1192, allocations: 0 / 0.6463 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.1193, allocations: 3.938 kB / 0.6463 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.1196, allocations: 107.6 kB / 0.6464 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.458e-06/0.1196, allocations: 4 kB / 0.6464 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.142e-05/0.1197, allocations: 11.92 kB / 0.6464 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.1197, allocations: 3.984 kB / 0.6464 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.218e-05/0.1198, allocations: 3.938 kB / 0.6464 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.1198, allocations: 4 kB / 0.6464 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-06/0.1199, allocations: 0 / 0.6464 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.1201, allocations: 127.8 kB / 0.6465 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-06/0.1201, allocations: 3.984 kB / 0.6465 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.058e-05/0.1201, allocations: 0 / 0.6465 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1203, allocations: 99.98 kB / 0.6466 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1203, allocations: 4 kB / 0.6466 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1203, allocations: 4 kB / 0.6466 GB, free: 6.898 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1203, allocations: 0 / 0.6466 GB, free: 6.898 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003575/0.1207, allocations: 355 kB / 0.647 GB, free: 6.504 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1207, allocations: 12.62 kB / 0.647 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.808e-05/0.1208, allocations: 106 kB / 0.6471 GB, free: 6.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.1209, allocations: 80.2 kB / 0.6471 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.121, allocations: 239.6 kB / 0.6474 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.1211, allocations: 154.9 kB / 0.6475 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.1212, allocations: 154.9 kB / 0.6477 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.631e-05/0.1212, allocations: 104.9 kB / 0.6478 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.1213, allocations: 75.28 kB / 0.6478 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.1213, allocations: 150.6 kB / 0.648 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.1214, allocations: 150.6 kB / 0.6481 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.264e-05/0.1215, allocations: 162.5 kB / 0.6483 GB, free: 5.082 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.1218, allocations: 445.9 kB / 0.6487 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.17e-05/0.1219, allocations: 169.1 kB / 0.6489 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.1219, allocations: 80.14 kB / 0.6489 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.1219, allocations: 83.22 kB / 0.649 GB, free: 4.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.122, allocations: 105.8 kB / 0.6491 GB, free: 4.145 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.122, allocations: 3.938 kB / 0.6491 GB, free: 4.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.818e-05/0.1221, allocations: 33.64 kB / 0.6492 GB, free: 4.102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.1222, allocations: 126.7 kB / 0.6493 GB, free: 3.965 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1223, allocations: 97.84 kB / 0.6494 GB, free: 3.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1223, allocations: 33.83 kB / 0.6494 GB, free: 3.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.1223, allocations: 80.14 kB / 0.6495 GB, free: 3.738 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-06/0.1223, allocations: 0 / 0.6495 GB, free: 3.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.1224, allocations: 9.719 kB / 0.6495 GB, free: 3.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1225, allocations: 310.8 kB / 0.6498 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/0.1225, allocations: 48 / 0.6498 GB, free: 3.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-06/0.1225, allocations: 8 kB / 0.6498 GB, free: 3.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.466e-05/0.1225, allocations: 75.28 kB / 0.6499 GB, free: 3.328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.252e-05/0.1226, allocations: 79.28 kB / 0.6499 GB, free: 3.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.329e-05/0.1226, allocations: 33.58 kB / 0.65 GB, free: 3.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.1227, allocations: 87.27 kB / 0.6501 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.1227, allocations: 75.28 kB / 0.6501 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-05/0.1228, allocations: 154.6 kB / 0.6503 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.353e-05/0.1228, allocations: 83.28 kB / 0.6504 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.214e-05/0.1229, allocations: 158.6 kB / 0.6505 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.678e-05/0.1229, allocations: 83.22 kB / 0.6506 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.123, allocations: 75.28 kB / 0.6507 GB, free: 2.504 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 (0): * Single equations (assignments): 0 * 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 9.809e-05/0.1231, allocations: 256.4 kB / 0.6509 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.1231, allocations: 116.8 kB / 0.651 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.1232, allocations: 108.1 kB / 0.6511 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.775e-05/0.1233, allocations: 184.2 kB / 0.6513 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-05/0.1233, allocations: 184.2 kB / 0.6515 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.936e-05/0.1234, allocations: 176.3 kB / 0.6516 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1236, allocations: 409.2 kB / 0.652 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.09e-05/0.1236, allocations: 104.9 kB / 0.6521 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.1237, allocations: 105 kB / 0.6522 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.877e-05/0.1237, allocations: 188.2 kB / 0.6524 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.1238, allocations: 180.3 kB / 0.6526 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.608e-05/0.1239, allocations: 180.2 kB / 0.6528 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.718e-05/0.1239, allocations: 180.3 kB / 0.6529 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.1241, allocations: 311.8 kB / 0.6532 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.1242, allocations: 182 kB / 0.6534 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.1242, allocations: 180.2 kB / 0.6536 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.1243, allocations: 105 kB / 0.6537 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.1244, allocations: 184.2 kB / 0.6538 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.1244, allocations: 108.9 kB / 0.6539 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.1245, allocations: 75.28 kB / 0.654 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1245, allocations: 4 kB / 0.654 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003435/0.1248, allocations: 47.73 kB / 0.6541 GB, free: 14.79 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 (0): * Single equations (assignments): 0 * 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.0007564/0.1256, allocations: 0.9449 MB / 0.655 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.736e-05/0.1256, allocations: 3.938 kB / 0.655 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1256, allocations: 0 / 0.655 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.1257, allocations: 0 / 0.655 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.126, allocations: 463.7 kB / 0.6554 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1271, allocations: 1.56 MB / 0.657 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1273, allocations: 0.6729 MB / 0.6576 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.149e-05/0.1274, allocations: 4 kB / 0.6576 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.1274, allocations: 11.38 kB / 0.6576 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1274, allocations: 0 / 0.6576 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.145, allocations: 1.89 MB / 0.6595 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.324, allocations: 3.125 kB / 0.6595 GB, free: 9.297 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)