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.004862/0.004862, allocations: 100.3 kB / 15.73 MB, free: 6.059 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.001204/0.001204, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.205/1.205, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 274.9 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8619/0.8619, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 91.92 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1347, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001994/0.1367, allocations: 1.245 MB / 0.7671 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.138, allocations: 1.008 MB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.138, allocations: 0 / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.138, allocations: 0 / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.1384, allocations: 111.6 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.1384, allocations: 4 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.593e-05/0.1385, allocations: 3.938 kB / 0.7682 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.1385, allocations: 0 / 0.7682 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.276e-05/0.1385, allocations: 0 / 0.7682 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.1386, allocations: 8 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.58e-06/0.1386, allocations: 0 / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.1388, allocations: 127.8 kB / 0.7684 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.348e-06/0.1388, allocations: 0 / 0.7684 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.203e-05/0.1389, allocations: 7.875 kB / 0.7684 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.139, allocations: 108 kB / 0.7685 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1391, allocations: 0 / 0.7685 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1391, allocations: 0 / 0.7685 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.1391, allocations: 0 / 0.7685 GB, free: 6.309 MB / 0.5606 GB 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.0002857/0.1394, allocations: 355.1 kB / 0.7688 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1394, allocations: 12.03 kB / 0.7688 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.1394, allocations: 110 kB / 0.7689 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.1395, allocations: 80.17 kB / 0.769 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1396, allocations: 243.7 kB / 0.7692 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.1397, allocations: 154.9 kB / 0.7694 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.1397, allocations: 150.9 kB / 0.7695 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.596e-05/0.1398, allocations: 112.9 kB / 0.7696 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.1398, allocations: 75.28 kB / 0.7697 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.1399, allocations: 150.6 kB / 0.7698 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/0.1399, allocations: 150.6 kB / 0.77 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.517e-05/0.14, allocations: 158.5 kB / 0.7701 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.1402, allocations: 446 kB / 0.7706 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.6e-05/0.1403, allocations: 165.1 kB / 0.7707 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.1403, allocations: 80.14 kB / 0.7708 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.1404, allocations: 83.2 kB / 0.7709 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.1404, allocations: 117.8 kB / 0.771 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.1404, allocations: 0 / 0.771 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.181e-05/0.1405, allocations: 33.64 kB / 0.771 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.1405, allocations: 126.7 kB / 0.7711 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.1406, allocations: 93.86 kB / 0.7712 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.1406, allocations: 25.7 kB / 0.7713 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.1407, allocations: 80.14 kB / 0.7713 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.1407, allocations: 0 / 0.7713 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.1407, allocations: 17.84 kB / 0.7713 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.1408, allocations: 318.8 kB / 0.7717 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-06/0.1408, allocations: 0 / 0.7717 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-06/0.1408, allocations: 0 / 0.7717 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.245e-05/0.1408, allocations: 75.28 kB / 0.7717 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-05/0.1409, allocations: 79.22 kB / 0.7718 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.21e-05/0.1409, allocations: 37.58 kB / 0.7718 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.141, allocations: 79.28 kB / 0.7719 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.141, allocations: 79.28 kB / 0.772 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.724e-05/0.141, allocations: 158.5 kB / 0.7721 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.036e-05/0.1411, allocations: 75.28 kB / 0.7722 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.807e-05/0.1411, allocations: 154.5 kB / 0.7724 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.1412, allocations: 83.22 kB / 0.7724 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.1412, allocations: 79.22 kB / 0.7725 GB, free: 1.91 MB / 0.5606 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 9.033e-05/0.1413, allocations: 265.1 kB / 0.7728 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.1414, allocations: 108.9 kB / 0.7729 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.1414, allocations: 104.1 kB / 0.773 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.772e-05/0.1415, allocations: 188.3 kB / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.663e-05/0.1415, allocations: 188.2 kB / 0.7733 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-05/0.1416, allocations: 180.3 kB / 0.7735 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.1418, allocations: 405.2 kB / 0.7739 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-05/0.1418, allocations: 104.9 kB / 0.774 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.1419, allocations: 105 kB / 0.7741 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-05/0.1419, allocations: 180.2 kB / 0.7743 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2641/0.4061, allocations: 177 kB / 0.7744 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.946e-05/0.4061, allocations: 180.5 kB / 0.7746 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.945e-05/0.4061, allocations: 184 kB / 0.7748 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.141e-05/0.4062, allocations: 302.2 kB / 0.7751 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.4062, allocations: 187 kB / 0.7752 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.4063, allocations: 179.5 kB / 0.7754 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.698e-05/0.4063, allocations: 106 kB / 0.7755 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.4064, allocations: 180.2 kB / 0.7757 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.4064, allocations: 110.3 kB / 0.7758 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.4064, allocations: 82.45 kB / 0.7759 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4064, allocations: 0 / 0.7759 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003334/0.4068, allocations: 39.52 kB / 0.7759 GB, free: 13.74 MB / 0.5606 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.0005139/0.4073, allocations: 0.957 MB / 0.7768 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 3.155e-05/0.4073, allocations: 2.312 kB / 0.7768 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4073, allocations: 0.7812 kB / 0.7768 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.4073, allocations: 1.188 kB / 0.7768 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.4076, allocations: 460.7 kB / 0.7773 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/0.4083, allocations: 1.56 MB / 0.7788 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.079e-05/0.4083, allocations: 0.6709 MB / 0.7795 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.156e-06/0.4084, allocations: 1.375 kB / 0.7795 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.4084, allocations: 9.484 kB / 0.7795 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.4084, allocations: 0 / 0.7795 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.4266, allocations: 1.903 MB / 0.7813 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.47/6.897, allocations: 13.02 kB / 0.7813 GB, free: 9.867 MB / 0.5606 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)