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.0007413/0.0007413, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007923/0.0007923, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8933/0.8933, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7428/0.7428, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.232e-06/1.232e-06, allocations: 0 / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.693e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001672/0.001688, allocations: 1.295 MB / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000741/0.002429, allocations: 0.8219 MB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.00245, allocations: 3.938 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.002482, allocations: 3.984 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.002719, allocations: 11.94 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.002865, allocations: 59.22 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.288e-05/0.002948, allocations: 23.92 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.002996, allocations: 0 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.003078, allocations: 15.92 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.003146, allocations: 7.984 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.003162, allocations: 0 / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.685e-05/0.003199, allocations: 7.938 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.003243, allocations: 11.98 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.003267, allocations: 4 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.003369, allocations: 23.91 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.00337, allocations: 4 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003371, allocations: 0 / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.003375, allocations: 0 / 0.6204 GB, free: 11.3 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.000271/0.003646, allocations: 254.3 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.003685, allocations: 12.03 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.76e-05/0.003733, allocations: 106 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.003782, allocations: 76.22 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.003883, allocations: 193 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.003927, allocations: 150.9 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.003979, allocations: 154.9 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.177e-05/0.004041, allocations: 101.5 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.004064, allocations: 83.41 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003867/0.004451, allocations: 150.9 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/0.004491, allocations: 154.7 kB / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.483e-05/0.004536, allocations: 158.5 kB / 0.6219 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.004738, allocations: 425 kB / 0.6223 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.004804, allocations: 169.1 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.004828, allocations: 80.14 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.004847, allocations: 79.28 kB / 0.6226 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.00488, allocations: 105.8 kB / 0.6227 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.004881, allocations: 0 / 0.6227 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.978e-05/0.004941, allocations: 37.64 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.004988, allocations: 130.6 kB / 0.6229 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.355e-05/0.005081, allocations: 109.8 kB / 0.623 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.005092, allocations: 25.7 kB / 0.623 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.005122, allocations: 80.14 kB / 0.6231 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-06/0.005125, allocations: 0 / 0.6231 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.005155, allocations: 25.7 kB / 0.6231 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.561e-05/0.005231, allocations: 310.8 kB / 0.6234 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.005247, allocations: 4 kB / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.005275, allocations: 37.62 kB / 0.6234 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.907e-05/0.005304, allocations: 20.95 kB / 0.6234 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005306, allocations: 0 / 0.6234 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.97e-05/0.005396, allocations: 45.62 kB / 0.6235 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.005407, allocations: 4 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.005413, allocations: 0 / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.005424, allocations: 0 / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.005426, allocations: 7.938 kB / 0.6235 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.00543, allocations: 0 / 0.6235 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.005496, allocations: 0 / 0.6235 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.005505, allocations: 3.984 kB / 0.6235 GB, free: 7.859 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 6.63e-05/0.005572, allocations: 190.1 kB / 0.6237 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.005611, allocations: 117 kB / 0.6238 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.005643, allocations: 104.7 kB / 0.6239 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.219e-05/0.005685, allocations: 180.2 kB / 0.6241 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.692e-05/0.005732, allocations: 196.1 kB / 0.6243 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-05/0.005776, allocations: 180.3 kB / 0.6244 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.00593, allocations: 380.2 kB / 0.6248 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/0.005956, allocations: 101 kB / 0.6249 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.005982, allocations: 105 kB / 0.625 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.561e-05/0.006028, allocations: 180.2 kB / 0.6252 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.006077, allocations: 184.3 kB / 0.6253 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-05/0.006125, allocations: 184.2 kB / 0.6255 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-05/0.00617, allocations: 188.1 kB / 0.6257 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.297e-05/0.006263, allocations: 303.7 kB / 0.626 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.006314, allocations: 109 kB / 0.6261 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.006366, allocations: 184.2 kB / 0.6263 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-05/0.006414, allocations: 105 kB / 0.6264 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.006462, allocations: 180.2 kB / 0.6265 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.006488, allocations: 104.9 kB / 0.6266 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.006523, allocations: 91.27 kB / 0.6267 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006523, allocations: 0 / 0.6267 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001432/0.006666, allocations: 8 kB / 0.6267 GB, free: 4.359 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.0003864/0.007052, allocations: 0.8156 MB / 0.6275 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.558e-05/0.007118, allocations: 11.92 kB / 0.6275 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.007119, allocations: 3.938 kB / 0.6275 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.007121, allocations: 4 kB / 0.6275 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.007352, allocations: 457.8 kB / 0.628 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.008146, allocations: 1.295 MB / 0.6292 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.128e-05/0.008187, allocations: 59.34 kB / 0.6293 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.394e-05/0.008201, allocations: 4 kB / 0.6293 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.008224, allocations: 8.5 kB / 0.6293 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.008225, allocations: 0 / 0.6293 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.02442, allocations: 1.923 MB / 0.6312 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.586/6.611, allocations: 0 / 0.6312 GB, free: 15.82 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.324829983524978] Failed to read output from testmodel.py, exit status != 0: 6.728526613675058 6.739379093 6.734235833 Calling exit ...