Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.001823/0.001823, 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.002062/0.002062, allocations: 197.1 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 2.293/2.293, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.591/1.591, allocations: 135.1 MB / 425.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002592, allocations: 59.78 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2209, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.003937/0.2249, allocations: 1.255 MB / 0.5857 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.2267, allocations: 0.7403 MB / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.2268, allocations: 0 / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.2268, allocations: 3.938 kB / 0.5864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.2271, allocations: 7.938 kB / 0.5864 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.2275, allocations: 54.78 kB / 0.5865 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.2276, allocations: 27.84 kB / 0.5865 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.606e-05/0.2277, allocations: 8 kB / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.668e-05/0.2277, allocations: 8 kB / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.228, allocations: 15.97 kB / 0.5866 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.228, allocations: 0 / 0.5866 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.2281, allocations: 11.94 kB / 0.5866 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.2282, allocations: 3.938 kB / 0.5866 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.2282, allocations: 11.97 kB / 0.5866 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.2284, allocations: 23.92 kB / 0.5866 GB, free: 2.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2284, allocations: 4 kB / 0.5866 GB, free: 2.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2284, allocations: 0 / 0.5866 GB, free: 2.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2284, allocations: 0 / 0.5866 GB, free: 2.27 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.0004975/0.2289, allocations: 327.7 kB / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.229, allocations: 8.031 kB / 0.5869 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.849e-05/0.2291, allocations: 106 kB / 0.587 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.2292, allocations: 80.22 kB / 0.5871 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.2294, allocations: 243.7 kB / 0.5873 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.725e-05/0.2295, allocations: 158.9 kB / 0.5875 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/0.2297, allocations: 154.9 kB / 0.5876 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.2298, allocations: 105.5 kB / 0.5877 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.57e-05/0.2298, allocations: 79.22 kB / 0.5878 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.581e-05/0.2299, allocations: 150.6 kB / 0.588 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.23, allocations: 154.6 kB / 0.5881 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.386e-05/0.2301, allocations: 150.6 kB / 0.5882 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.2306, allocations: 457.8 kB / 0.5887 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.2307, allocations: 181.1 kB / 0.5889 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.2308, allocations: 84.14 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.2308, allocations: 75.28 kB / 0.589 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.221e-05/0.2309, allocations: 105.8 kB / 0.5891 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 5.721e-06/0.2309, allocations: 0 / 0.5891 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001146/0.2311, allocations: 33.58 kB / 0.5891 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.2312, allocations: 130.7 kB / 0.5893 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2313, allocations: 105.8 kB / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.2314, allocations: 33.64 kB / 0.5894 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.2315, allocations: 88.12 kB / 0.5895 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.2315, allocations: 3.938 kB / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.2315, allocations: 13.72 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.2317, allocations: 310.8 kB / 0.5898 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.2317, allocations: 7.984 kB / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.2318, allocations: 12 kB / 0.5898 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.91e-05/0.2319, allocations: 16.95 kB / 0.5898 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2319, allocations: 0 / 0.5898 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001719/0.2321, allocations: 37.69 kB / 0.5899 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.2321, allocations: 14.28 kB / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2322, allocations: 0 / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2322, allocations: 0 / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.2322, allocations: 0 / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2322, allocations: 3.938 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.2324, allocations: 7.984 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.2324, allocations: 0 / 0.5899 GB, free: 14.66 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001357/0.2326, allocations: 193.2 kB / 0.5901 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.893e-05/0.2327, allocations: 108.8 kB / 0.5902 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.342e-05/0.2328, allocations: 108.5 kB / 0.5903 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.452e-05/0.2329, allocations: 184.2 kB / 0.5905 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.374e-05/0.233, allocations: 176.3 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-05/0.2331, allocations: 184.2 kB / 0.5908 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.2334, allocations: 405.2 kB / 0.5912 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.921e-05/0.2335, allocations: 101 kB / 0.5913 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.2335, allocations: 105.1 kB / 0.5914 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.2337, allocations: 192.2 kB / 0.5916 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.546e-05/0.2338, allocations: 184.2 kB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.452e-05/0.2339, allocations: 180.3 kB / 0.5919 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-05/0.234, allocations: 180.2 kB / 0.5921 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.2342, allocations: 303.9 kB / 0.5924 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.2343, allocations: 190.3 kB / 0.5926 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.2344, allocations: 184.2 kB / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.2346, allocations: 108.9 kB / 0.5928 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.2347, allocations: 180.2 kB / 0.593 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.2348, allocations: 105 kB / 0.5931 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.102e-05/0.2349, allocations: 87.27 kB / 0.5932 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2349, allocations: 0 / 0.5932 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004515/0.2353, allocations: 4 kB / 0.5932 GB, free: 11.04 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.0006663/0.236, allocations: 0.8371 MB / 0.594 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.251e-05/0.2361, allocations: 4 kB / 0.594 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2362, allocations: 4.062 kB / 0.594 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.625e-06/0.2362, allocations: 4 kB / 0.594 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.2368, allocations: 459.6 kB / 0.5945 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.2382, allocations: 1.294 MB / 0.5957 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.2385, allocations: 0.6768 MB / 0.5964 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.2386, allocations: 8 kB / 0.5964 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.2386, allocations: 7.438 kB / 0.5964 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.2386, allocations: 0 / 0.5964 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1831/0.4217, allocations: 1.274 MB / 0.5976 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.94/17.36, allocations: 2 kB / 0.5976 GB, free: 6.523 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1)