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.004193/0.004193, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001144/0.001144, allocations: 199 kB / 16.79 MB, free: 6.242 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.202/1.202, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.621/0.621, allocations: 115.3 MB / 406 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 64.41 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1192, allocations: 76.19 MB / 0.5559 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002002/0.1213, allocations: 1.294 MB / 0.5571 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008546/0.1222, allocations: 0.6917 MB / 0.5578 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.1222, allocations: 4 kB / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.1222, allocations: 0 / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.1224, allocations: 15.97 kB / 0.5578 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.479e-05/0.1224, allocations: 11.94 kB / 0.5578 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.813e-05/0.1225, allocations: 15.92 kB / 0.5578 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.1225, allocations: 4 kB / 0.5578 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.1226, allocations: 3.984 kB / 0.5578 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1227, allocations: 7.984 kB / 0.5579 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1227, allocations: 4 kB / 0.5579 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.335e-05/0.1228, allocations: 11.98 kB / 0.5579 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.1228, allocations: 4 kB / 0.5579 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.1228, allocations: 3.984 kB / 0.5579 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.14e-05/0.1229, allocations: 11.88 kB / 0.5579 GB, free: 8.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1229, allocations: 8 kB / 0.5579 GB, free: 8.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1229, allocations: 0 / 0.5579 GB, free: 8.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.1229, allocations: 0 / 0.5579 GB, free: 8.629 MB / 430.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.0002856/0.1232, allocations: 323.8 kB / 0.5582 GB, free: 8.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1233, allocations: 12.03 kB / 0.5582 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.1233, allocations: 106 kB / 0.5583 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.1234, allocations: 80.12 kB / 0.5584 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1235, allocations: 247.6 kB / 0.5586 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.1236, allocations: 158.9 kB / 0.5588 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.1236, allocations: 150.9 kB / 0.5589 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.2e-05/0.1237, allocations: 101.5 kB / 0.559 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.1237, allocations: 83.16 kB / 0.5591 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.1237, allocations: 154.5 kB / 0.5592 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.1238, allocations: 154.6 kB / 0.5594 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.907e-05/0.1238, allocations: 158.5 kB / 0.5595 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.1241, allocations: 445.9 kB / 0.56 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.681e-05/0.1242, allocations: 165.1 kB / 0.5601 GB, free: 6.168 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.1242, allocations: 92.08 kB / 0.5602 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1242, allocations: 75.28 kB / 0.5603 GB, free: 6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.1243, allocations: 109.8 kB / 0.5604 GB, free: 5.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1243, allocations: 0 / 0.5604 GB, free: 5.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.907e-05/0.1243, allocations: 29.64 kB / 0.5604 GB, free: 5.848 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.1244, allocations: 130.7 kB / 0.5605 GB, free: 5.707 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.1245, allocations: 97.86 kB / 0.5606 GB, free: 5.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1245, allocations: 29.7 kB / 0.5607 GB, free: 5.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.1245, allocations: 88.08 kB / 0.5608 GB, free: 5.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-06/0.1246, allocations: 0 / 0.5608 GB, free: 5.477 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.1246, allocations: 13.72 kB / 0.5608 GB, free: 5.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.1247, allocations: 314.8 kB / 0.5611 GB, free: 5.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-06/0.1247, allocations: 3.938 kB / 0.5611 GB, free: 5.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.073e-05/0.1247, allocations: 0 / 0.5611 GB, free: 5.137 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/0.1247, allocations: 79.28 kB / 0.5611 GB, free: 5.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.546e-05/0.1248, allocations: 79.31 kB / 0.5612 GB, free: 4.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.066e-05/0.1248, allocations: 29.75 kB / 0.5612 GB, free: 4.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.1248, allocations: 87.22 kB / 0.5613 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.1249, allocations: 79.28 kB / 0.5614 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.547e-05/0.1249, allocations: 154.5 kB / 0.5616 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.49e-05/0.125, allocations: 83.27 kB / 0.5616 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-05/0.125, allocations: 162.5 kB / 0.5618 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.1251, allocations: 75.42 kB / 0.5619 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.1252, allocations: 79.3 kB / 0.5619 GB, free: 4.234 MB / 430.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.271e-05/0.1253, allocations: 268.3 kB / 0.5622 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.1253, allocations: 104.9 kB / 0.5623 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.1254, allocations: 108.1 kB / 0.5624 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.173e-05/0.1254, allocations: 188.2 kB / 0.5626 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-05/0.1255, allocations: 176.3 kB / 0.5627 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.127e-05/0.1255, allocations: 180.2 kB / 0.5629 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1257, allocations: 405.2 kB / 0.5633 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.684e-05/0.1257, allocations: 101 kB / 0.5634 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.1258, allocations: 108.9 kB / 0.5635 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.312e-05/0.1258, allocations: 180.2 kB / 0.5637 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.1259, allocations: 188.2 kB / 0.5639 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.326e-05/0.126, allocations: 184.3 kB / 0.564 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.136e-05/0.126, allocations: 176.3 kB / 0.5642 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.1261, allocations: 311.7 kB / 0.5645 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.1262, allocations: 186 kB / 0.5647 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.1263, allocations: 184.2 kB / 0.5648 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.1263, allocations: 101 kB / 0.5649 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.1264, allocations: 184.2 kB / 0.5651 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.1264, allocations: 109 kB / 0.5652 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.801e-05/0.1265, allocations: 83.28 kB / 0.5653 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1265, allocations: 3.938 kB / 0.5653 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1267, allocations: 0 / 0.5653 GB, free: 0.5586 MB / 430.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 (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.0004415/0.1272, allocations: 0.8282 MB / 0.5661 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 2.961e-05/0.1272, allocations: 0 / 0.5661 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1272, allocations: 0 / 0.5661 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.779e-06/0.1272, allocations: 4 kB / 0.5661 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1276, allocations: 0.5224 MB / 0.5666 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.1285, allocations: 1.562 MB / 0.5682 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.1287, allocations: 0.677 MB / 0.5688 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.123e-05/0.1287, allocations: 0 / 0.5688 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.1288, allocations: 11.44 kB / 0.5688 GB, free: 12.81 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1288, allocations: 0 / 0.5688 GB, free: 12.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05531/0.1841, allocations: 1.058 MB / 0.5699 GB, free: 11.96 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.1843, allocations: 237.8 kB / 0.5701 GB, free: 11.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/1.65, allocations: 2.812 kB / 0.5701 GB, free: 11.71 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)