Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_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.001315/0.001315, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002508/0.002508, allocations: 282.8 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 104.4 kB / 0.6065 GB, free: 24.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1491, allocations: 89.15 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002343/0.1515, allocations: 1.22 MB / 0.6948 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.153, allocations: 1.017 MB / 0.6958 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.153, allocations: 0 / 0.6958 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.1531, allocations: 0 / 0.6958 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.1535, allocations: 107.5 kB / 0.6959 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.1535, allocations: 0 / 0.6959 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.247e-05/0.1535, allocations: 11.98 kB / 0.6959 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.085e-05/0.1536, allocations: 0 / 0.6959 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.458e-05/0.1536, allocations: 4 kB / 0.6959 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.857e-05/0.1537, allocations: 4 kB / 0.6959 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.1537, allocations: 0 / 0.6959 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.1539, allocations: 107.9 kB / 0.696 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.1539, allocations: 7.969 kB / 0.696 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.1539, allocations: 3.938 kB / 0.696 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1541, allocations: 103.8 kB / 0.6961 GB, free: 1.633 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1542, allocations: 0 / 0.6961 GB, free: 1.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1542, allocations: 0 / 0.6961 GB, free: 1.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1542, allocations: 4 kB / 0.6961 GB, free: 1.629 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.000369/0.1545, allocations: 355.7 kB / 0.6965 GB, free: 1.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1546, allocations: 8.031 kB / 0.6965 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.1546, allocations: 110 kB / 0.6966 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.1547, allocations: 76.22 kB / 0.6967 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.1549, allocations: 247.6 kB / 0.6969 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.155, allocations: 154.9 kB / 0.697 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.1551, allocations: 154.9 kB / 0.6972 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.56e-05/0.1551, allocations: 112.8 kB / 0.6973 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/0.1552, allocations: 83.22 kB / 0.6974 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.1553, allocations: 150.6 kB / 0.6975 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.899e-05/0.1553, allocations: 150.6 kB / 0.6977 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.186e-05/0.1554, allocations: 154.6 kB / 0.6978 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.1557, allocations: 445.9 kB / 0.6982 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.908e-05/0.1558, allocations: 173.2 kB / 0.6984 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.1559, allocations: 84.08 kB / 0.6985 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.1559, allocations: 83.22 kB / 0.6986 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.156, allocations: 105.8 kB / 0.6987 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.156, allocations: 0 / 0.6987 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.591e-05/0.1561, allocations: 29.7 kB / 0.6987 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.1561, allocations: 126.7 kB / 0.6988 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.99e-05/0.1563, allocations: 97.84 kB / 0.6989 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1563, allocations: 25.83 kB / 0.6989 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.1563, allocations: 84.14 kB / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-06/0.1563, allocations: 4 kB / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.1564, allocations: 9.719 kB / 0.699 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1565, allocations: 314.8 kB / 0.6993 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-06/0.1565, allocations: 7.875 kB / 0.6993 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-06/0.1565, allocations: 0 / 0.6993 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.1566, allocations: 75.28 kB / 0.6994 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.232e-05/0.1566, allocations: 79.28 kB / 0.6995 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.835e-05/0.1567, allocations: 33.64 kB / 0.6995 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.1567, allocations: 79.28 kB / 0.6996 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-05/0.1568, allocations: 87.2 kB / 0.6997 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-05/0.1568, allocations: 150.6 kB / 0.6998 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.95e-05/0.1569, allocations: 75.41 kB / 0.6999 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.484e-05/0.1569, allocations: 158.5 kB / 0.7 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.157, allocations: 83.28 kB / 0.7001 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.1571, allocations: 83.22 kB / 0.7002 GB, free: 13.22 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: 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.0001262/0.1572, allocations: 256.4 kB / 0.7004 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.1573, allocations: 108.9 kB / 0.7005 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.1574, allocations: 108.1 kB / 0.7006 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.528e-05/0.1574, allocations: 184.2 kB / 0.7008 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.414e-05/0.1575, allocations: 180.3 kB / 0.701 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.435e-05/0.1576, allocations: 184.2 kB / 0.7012 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.1579, allocations: 401.2 kB / 0.7016 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.157e-05/0.1579, allocations: 104.9 kB / 0.7017 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.158, allocations: 104.9 kB / 0.7018 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.307e-05/0.1581, allocations: 192.2 kB / 0.7019 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.194e-05/0.1582, allocations: 180.2 kB / 0.7021 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.857e-05/0.1583, allocations: 180.2 kB / 0.7023 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-05/0.1583, allocations: 176.3 kB / 0.7024 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.1585, allocations: 311.8 kB / 0.7027 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.1586, allocations: 190 kB / 0.7029 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/0.1587, allocations: 180.3 kB / 0.7031 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.1588, allocations: 101 kB / 0.7032 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.1589, allocations: 184.2 kB / 0.7034 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.1589, allocations: 105 kB / 0.7035 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.159, allocations: 83.28 kB / 0.7036 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.159, allocations: 0 / 0.7036 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000334/0.1593, allocations: 39.92 kB / 0.7036 GB, free: 9.52 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.0008697/0.1602, allocations: 0.9422 MB / 0.7045 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.484e-05/0.1602, allocations: 0 / 0.7045 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1603, allocations: 0 / 0.7045 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.1603, allocations: 400 / 0.7045 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.1607, allocations: 463.6 kB / 0.705 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1619, allocations: 1.56 MB / 0.7065 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1622, allocations: 0.6729 MB / 0.7071 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.006e-05/0.1622, allocations: 4 kB / 0.7071 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.1623, allocations: 7.438 kB / 0.7071 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1623, allocations: 0 / 0.7071 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.1892, allocations: 1.878 MB / 0.709 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/7.868, allocations: 23.2 kB / 0.709 GB, free: 4.062 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)