Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006768/0.0006768, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007954/0.0007954, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9552/0.9552, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7818/0.7818, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.244e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001701/0.001724, allocations: 1.292 MB / 0.6194 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.002459, allocations: 0.8298 MB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.002484, allocations: 0 / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.002516, allocations: 7.922 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.002751, allocations: 11.88 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.002892, allocations: 51.47 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.002965, allocations: 23.91 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.003003, allocations: 8 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.099e-05/0.003074, allocations: 15.98 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.003147, allocations: 7.938 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.003162, allocations: 0 / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.688e-05/0.003199, allocations: 7.984 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.003244, allocations: 7.984 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.003264, allocations: 4 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.909e-05/0.003354, allocations: 23.91 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003356, allocations: 7.938 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003357, allocations: 0 / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.003361, allocations: 0 / 0.6204 GB, free: 11.34 MB / 0.5886 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.0002466/0.003608, allocations: 252.5 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.003643, allocations: 8.031 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.003682, allocations: 110 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.00373, allocations: 80.17 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.591e-05/0.003826, allocations: 189 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.003999, allocations: 150.9 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.004039, allocations: 154.9 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.868e-05/0.004087, allocations: 105.5 kB / 0.6214 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.004107, allocations: 75.47 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.004137, allocations: 150.9 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/0.00417, allocations: 162.7 kB / 0.6217 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.43e-05/0.004205, allocations: 150.6 kB / 0.6219 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.004396, allocations: 425 kB / 0.6223 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.004459, allocations: 169.1 kB / 0.6224 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.004482, allocations: 84.08 kB / 0.6225 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.004503, allocations: 75.28 kB / 0.6226 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.004533, allocations: 109.8 kB / 0.6227 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.004533, allocations: 0 / 0.6227 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.808e-05/0.004591, allocations: 25.7 kB / 0.6227 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.004635, allocations: 138.6 kB / 0.6229 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.004732, allocations: 113.8 kB / 0.623 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.004742, allocations: 29.7 kB / 0.623 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.004776, allocations: 80.14 kB / 0.6231 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.004778, allocations: 0 / 0.6231 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.004805, allocations: 17.7 kB / 0.6231 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.004876, allocations: 314.8 kB / 0.6234 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.004892, allocations: 4 kB / 0.6234 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.004922, allocations: 37.69 kB / 0.6234 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.004949, allocations: 12.86 kB / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.004951, allocations: 0 / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.227e-05/0.005043, allocations: 57.7 kB / 0.6235 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.005054, allocations: 4 kB / 0.6235 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.00506, allocations: 3.938 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.005069, allocations: 0 / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.005071, allocations: 3.938 kB / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.005076, allocations: 0 / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.005146, allocations: 4.25 kB / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.005153, allocations: 3.984 kB / 0.6235 GB, free: 7.898 MB / 0.5886 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 7.028e-05/0.005224, allocations: 186.1 kB / 0.6237 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.005259, allocations: 109 kB / 0.6238 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.005292, allocations: 116.4 kB / 0.6239 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.831e-05/0.00533, allocations: 176.3 kB / 0.6241 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.053e-05/0.005371, allocations: 188.2 kB / 0.6243 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-05/0.005411, allocations: 188.2 kB / 0.6244 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.005545, allocations: 376.3 kB / 0.6248 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/0.005568, allocations: 104.9 kB / 0.6249 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.005593, allocations: 101 kB / 0.625 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-05/0.005631, allocations: 180.3 kB / 0.6252 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.00567, allocations: 180.2 kB / 0.6253 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.931e-05/0.005709, allocations: 176.3 kB / 0.6255 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.173e-05/0.005751, allocations: 192.1 kB / 0.6257 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.797e-05/0.005839, allocations: 311.7 kB / 0.626 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.005884, allocations: 105 kB / 0.6261 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.005929, allocations: 180.2 kB / 0.6263 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.005976, allocations: 104.9 kB / 0.6264 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.006021, allocations: 192.2 kB / 0.6265 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.006045, allocations: 108.9 kB / 0.6266 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.00608, allocations: 83.27 kB / 0.6267 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00608, allocations: 0 / 0.6267 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001465/0.006226, allocations: 4 kB / 0.6267 GB, free: 4.41 MB / 0.5886 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.0003968/0.006623, allocations: 0.8166 MB / 0.6275 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.079e-05/0.006694, allocations: 7.984 kB / 0.6275 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006695, allocations: 0 / 0.6275 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.006696, allocations: 3.938 kB / 0.6275 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.006936, allocations: 463.6 kB / 0.628 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.007901, allocations: 1.287 MB / 0.6292 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.97e-05/0.00794, allocations: 59.5 kB / 0.6293 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.874e-05/0.007959, allocations: 4 kB / 0.6293 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.007984, allocations: 12.5 kB / 0.6293 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.007985, allocations: 0 / 0.6293 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.02578, allocations: 1.92 MB / 0.6312 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/6.925, allocations: 3.938 kB / 0.6312 GB, free: 15.87 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.970654950477183] Failed to read output from testmodel.py, exit status != 0: 7.044849737547338 7.057244019 7.051745493 Calling exit ...