Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.004561/0.004561, allocations: 101.1 kB / 15.88 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.001237/0.001237, allocations: 194.5 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.19/1.19, allocations: 222.9 MB / 240.5 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6196/0.6196, allocations: 115.4 MB / 406 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 58.95 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1153, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001979/0.1174, allocations: 1.316 MB / 0.5571 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1191, allocations: 1.429 MB / 0.5585 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.412e-05/0.1191, allocations: 0 / 0.5585 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.1191, allocations: 3.938 kB / 0.5585 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.1193, allocations: 15.98 kB / 0.5585 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.1197, allocations: 182.7 kB / 0.5587 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.966e-05/0.1198, allocations: 23.94 kB / 0.5587 GB, free: 7.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.1198, allocations: 11.98 kB / 0.5588 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.417e-05/0.1199, allocations: 11.98 kB / 0.5588 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.218e-05/0.12, allocations: 11.92 kB / 0.5588 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.12, allocations: 7.938 kB / 0.5588 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.1202, allocations: 147.8 kB / 0.5589 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.1202, allocations: 0 / 0.5589 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.1202, allocations: 15.92 kB / 0.5589 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1205, allocations: 143.8 kB / 0.5591 GB, free: 7.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1205, allocations: 3.938 kB / 0.5591 GB, free: 7.398 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1205, allocations: 4 kB / 0.5591 GB, free: 7.395 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.1205, allocations: 0 / 0.5591 GB, free: 7.395 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.0003194/0.1208, allocations: 371.7 kB / 0.5594 GB, free: 6.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1208, allocations: 8.031 kB / 0.5595 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.1209, allocations: 110 kB / 0.5596 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.121, allocations: 80.22 kB / 0.5596 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.1211, allocations: 239.7 kB / 0.5599 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.1211, allocations: 158.9 kB / 0.56 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.1212, allocations: 158.5 kB / 0.5602 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.432e-05/0.1213, allocations: 105 kB / 0.5603 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.1213, allocations: 75.28 kB / 0.5603 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.1213, allocations: 150.6 kB / 0.5605 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/0.1214, allocations: 150.6 kB / 0.5606 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.696e-05/0.1214, allocations: 162.5 kB / 0.5608 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.1217, allocations: 449.9 kB / 0.5612 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.804e-05/0.1217, allocations: 173.1 kB / 0.5614 GB, free: 4.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.1218, allocations: 84.08 kB / 0.5615 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1218, allocations: 83.28 kB / 0.5615 GB, free: 4.719 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.1218, allocations: 113.8 kB / 0.5616 GB, free: 4.598 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1218, allocations: 0 / 0.5616 GB, free: 4.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.053e-05/0.1219, allocations: 25.7 kB / 0.5617 GB, free: 4.566 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.122, allocations: 130.7 kB / 0.5618 GB, free: 4.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.122, allocations: 101.8 kB / 0.5619 GB, free: 4.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.1221, allocations: 29.7 kB / 0.5619 GB, free: 4.281 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.1221, allocations: 92.05 kB / 0.562 GB, free: 4.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.1221, allocations: 0 / 0.562 GB, free: 4.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1222, allocations: 17.72 kB / 0.562 GB, free: 4.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.1222, allocations: 318.8 kB / 0.5623 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.1223, allocations: 0 / 0.5623 GB, free: 3.844 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.1223, allocations: 26.58 kB / 0.5623 GB, free: 3.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.388e-05/0.1223, allocations: 30.5 kB / 0.5624 GB, free: 3.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1224, allocations: 0 / 0.5624 GB, free: 3.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001121/0.1225, allocations: 49.58 kB / 0.5624 GB, free: 3.715 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1225, allocations: 10.34 kB / 0.5624 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1225, allocations: 0 / 0.5624 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.1225, allocations: 256 / 0.5624 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.1226, allocations: 12.02 kB / 0.5624 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1226, allocations: 15.94 kB / 0.5625 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.1227, allocations: 4 kB / 0.5625 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1227, allocations: 7.984 kB / 0.5625 GB, free: 3.668 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.638e-05/0.1228, allocations: 193 kB / 0.5627 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.1229, allocations: 101 kB / 0.5628 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.1229, allocations: 112 kB / 0.5629 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.082e-05/0.123, allocations: 180.3 kB / 0.563 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.682e-05/0.123, allocations: 184.2 kB / 0.5632 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.145e-05/0.1231, allocations: 180.2 kB / 0.5634 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.1233, allocations: 401.2 kB / 0.5638 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/0.1233, allocations: 117 kB / 0.5639 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.1234, allocations: 109 kB / 0.564 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.367e-05/0.1234, allocations: 176.3 kB / 0.5641 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.1235, allocations: 180.2 kB / 0.5643 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.098e-05/0.1235, allocations: 180.2 kB / 0.5645 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-05/0.1236, allocations: 192.2 kB / 0.5647 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.1237, allocations: 308 kB / 0.565 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.1238, allocations: 186 kB / 0.5651 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.1238, allocations: 180.2 kB / 0.5653 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.1239, allocations: 104.9 kB / 0.5654 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.124, allocations: 184.3 kB / 0.5656 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.124, allocations: 105 kB / 0.5657 GB, free: 152 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.081e-05/0.1241, allocations: 79.28 kB / 0.5658 GB, free: 72 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1241, allocations: 3.938 kB / 0.5658 GB, free: 68 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1243, allocations: 55.98 kB / 0.5658 GB, free: 12 kB / 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.0006747/0.125, allocations: 0.9683 MB / 0.5668 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.272e-05/0.1251, allocations: 15.88 kB / 0.5668 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1251, allocations: 0 / 0.5668 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.746e-06/0.1251, allocations: 4 kB / 0.5668 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1254, allocations: 0.5172 MB / 0.5673 GB, free: 14.52 MB / 446.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008939/0.1263, allocations: 1.351 MB / 0.5686 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.1265, allocations: 0.677 MB / 0.5693 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.112e-05/0.1266, allocations: 4.031 kB / 0.5693 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.1266, allocations: 15.44 kB / 0.5693 GB, free: 12.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1266, allocations: 0 / 0.5693 GB, free: 12.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2276/0.3543, allocations: 2.48 MB / 0.5717 GB, free: 10.04 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/0.3545, allocations: 274.2 kB / 0.572 GB, free: 9.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.013, allocations: 0 / 0.572 GB, free: 9.68 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)