Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.001044/0.001044, allocations: 109.2 kB / 16.41 MB, free: 5.984 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.001029/0.001029, allocations: 194.6 kB / 17.34 MB, free: 5.602 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7358/0.7358, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 68.31 kB / 0.568 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1155, allocations: 77.93 MB / 0.6441 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001992/0.1175, allocations: 1.227 MB / 0.6453 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.1185, allocations: 0.7197 MB / 0.646 GB, free: 7.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.1185, allocations: 0 / 0.646 GB, free: 7.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.1185, allocations: 0 / 0.646 GB, free: 7.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.1187, allocations: 19.92 kB / 0.646 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.796e-05/0.1188, allocations: 4 kB / 0.646 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.18e-05/0.1189, allocations: 15.86 kB / 0.646 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.1189, allocations: 8 kB / 0.646 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.737e-05/0.1189, allocations: 3.984 kB / 0.646 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.119, allocations: 9.672 kB / 0.646 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.1191, allocations: 0 / 0.646 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.7e-05/0.1191, allocations: 4 kB / 0.646 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.1192, allocations: 4 kB / 0.646 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.1192, allocations: 7.875 kB / 0.646 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.569e-05/0.1193, allocations: 28.19 kB / 0.6461 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1193, allocations: 0 / 0.6461 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1193, allocations: 0 / 0.6461 GB, free: 7.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1193, allocations: 0 / 0.6461 GB, free: 7.5 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.0002925/0.1196, allocations: 319.5 kB / 0.6464 GB, free: 7.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1196, allocations: 8.625 kB / 0.6464 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.714e-05/0.1197, allocations: 106 kB / 0.6465 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.1198, allocations: 80.22 kB / 0.6466 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1199, allocations: 255.5 kB / 0.6468 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/0.12, allocations: 154.9 kB / 0.647 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.12, allocations: 150.9 kB / 0.6471 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.089e-05/0.1201, allocations: 101.5 kB / 0.6472 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.1201, allocations: 83.22 kB / 0.6473 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.1202, allocations: 150.6 kB / 0.6474 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-05/0.1202, allocations: 154.6 kB / 0.6476 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.62e-05/0.1203, allocations: 158.5 kB / 0.6477 GB, free: 5.703 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.1205, allocations: 445.9 kB / 0.6481 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.403e-05/0.1206, allocations: 169.1 kB / 0.6483 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.1207, allocations: 84.14 kB / 0.6484 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.1207, allocations: 75.28 kB / 0.6485 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.1207, allocations: 105.8 kB / 0.6486 GB, free: 4.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1207, allocations: 0 / 0.6486 GB, free: 4.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.787e-05/0.1208, allocations: 38.7 kB / 0.6486 GB, free: 4.727 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.1209, allocations: 126.7 kB / 0.6487 GB, free: 4.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.121, allocations: 109.8 kB / 0.6488 GB, free: 4.473 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.121, allocations: 25.7 kB / 0.6488 GB, free: 4.441 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.121, allocations: 84.14 kB / 0.6489 GB, free: 4.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.121, allocations: 0 / 0.6489 GB, free: 4.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.1211, allocations: 9.719 kB / 0.6489 GB, free: 4.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.1212, allocations: 310.8 kB / 0.6492 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-06/0.1212, allocations: 4 kB / 0.6492 GB, free: 4.023 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.1212, allocations: 7.984 kB / 0.6492 GB, free: 4.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.1212, allocations: 79.31 kB / 0.6493 GB, free: 3.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-05/0.1213, allocations: 75.28 kB / 0.6494 GB, free: 3.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.93e-05/0.1213, allocations: 33.64 kB / 0.6494 GB, free: 3.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.1214, allocations: 83.22 kB / 0.6495 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/0.1214, allocations: 79.33 kB / 0.6496 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.88e-05/0.1214, allocations: 154.5 kB / 0.6497 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.702e-05/0.1215, allocations: 79.28 kB / 0.6498 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.377e-05/0.1215, allocations: 158.5 kB / 0.6499 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.1217, allocations: 79.22 kB / 0.65 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.1217, allocations: 87.22 kB / 0.6501 GB, free: 3.113 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 0.0001015/0.1218, allocations: 256.4 kB / 0.6504 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.1219, allocations: 109 kB / 0.6505 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.1219, allocations: 116.1 kB / 0.6506 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/0.122, allocations: 180.3 kB / 0.6507 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.975e-05/0.122, allocations: 184.2 kB / 0.6509 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.825e-05/0.1221, allocations: 180.3 kB / 0.6511 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.1223, allocations: 401.2 kB / 0.6515 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.899e-05/0.1223, allocations: 105 kB / 0.6516 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.1224, allocations: 109 kB / 0.6517 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.927e-05/0.1224, allocations: 188.1 kB / 0.6519 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.1225, allocations: 176.3 kB / 0.652 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.251e-05/0.1226, allocations: 184.2 kB / 0.6522 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-05/0.1226, allocations: 184.3 kB / 0.6524 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.1227, allocations: 311.7 kB / 0.6527 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.1228, allocations: 182.1 kB / 0.6528 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.013e-05/0.1229, allocations: 184.1 kB / 0.653 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.123, allocations: 101 kB / 0.6531 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.1231, allocations: 184.5 kB / 0.6533 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.1231, allocations: 116.8 kB / 0.6534 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.1231, allocations: 83.27 kB / 0.6535 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1231, allocations: 0 / 0.6535 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002603/0.1234, allocations: 4 kB / 0.6535 GB, free: 15.43 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.0005193/0.1239, allocations: 0.8165 MB / 0.6543 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.922e-05/0.124, allocations: 7.938 kB / 0.6543 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.124, allocations: 0 / 0.6543 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.124, allocations: 0 / 0.6543 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1243, allocations: 459.7 kB / 0.6547 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1254, allocations: 1.558 MB / 0.6563 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.1256, allocations: 0.6729 MB / 0.6569 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.827e-05/0.1256, allocations: 7.922 kB / 0.6569 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.1257, allocations: 7.438 kB / 0.6569 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1257, allocations: 0 / 0.6569 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.142, allocations: 1.2 MB / 0.6581 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.421, allocations: 11.25 kB / 0.6581 GB, free: 10.75 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_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_GetTimeSpanTMY3LongHeader.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)