Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.0009635/0.0009635, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001605/0.001605, allocations: 221.7 kB / 22.26 MB, free: 3.691 MB / 13.93 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.9789/0.9789, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8096/0.8096, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009817/0.0009817, allocations: 71 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5016/0.5025, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001888/0.5044, allocations: 1.501 MB / 0.8193 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003336/0.5048, allocations: 192.2 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.5048, allocations: 0 / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.5048, allocations: 5.297 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.5051, allocations: 24.48 kB / 0.8195 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.5052, allocations: 60.42 kB / 0.8196 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.062e-05/0.5053, allocations: 54.69 kB / 0.8197 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.132e-05/0.5054, allocations: 4.844 kB / 0.8197 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.5054, allocations: 33.25 kB / 0.8197 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.5055, allocations: 21.14 kB / 0.8197 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.5055, allocations: 4.125 kB / 0.8197 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.5056, allocations: 5.188 kB / 0.8197 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.5056, allocations: 10.75 kB / 0.8197 GB, free: 0 / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.5056, allocations: 21.72 kB / 0.8198 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.5057, allocations: 46.94 kB / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5058, allocations: 4.562 kB / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5058, allocations: 0 / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5058, allocations: 3.938 kB / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004438/0.5062, allocations: 276.6 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.5062, allocations: 11.72 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.5063, allocations: 36.06 kB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.5063, allocations: 3.375 kB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.437e-05/0.5064, allocations: 108.8 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.5064, allocations: 8.359 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.5064, allocations: 10.94 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.5065, allocations: 75.81 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5066, allocations: 3.938 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.5066, allocations: 0 / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5066, allocations: 2.438 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.64e-05/0.5066, allocations: 15.94 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.5072, allocations: 258.4 kB / 0.8206 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.086e-05/0.5073, allocations: 35.38 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.5073, allocations: 12.05 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.5073, allocations: 0 / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.5075, allocations: 62.48 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.5075, allocations: 5.281 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001848/0.5077, allocations: 73.36 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.5077, allocations: 104.2 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.5078, allocations: 108.8 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.5078, allocations: 30.31 kB / 0.821 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.5079, allocations: 93.62 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.5079, allocations: 5.031 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.5079, allocations: 21.36 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.661e-05/0.508, allocations: 327.1 kB / 0.8214 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.508, allocations: 8.875 kB / 0.8214 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/0.508, allocations: 32.56 kB / 0.8215 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.5081, allocations: 30.23 kB / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5081, allocations: 0 / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.632e-05/0.5082, allocations: 62.45 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.5082, allocations: 6.281 kB / 0.8216 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.5082, allocations: 0.5625 kB / 0.8216 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5082, allocations: 7.969 kB / 0.8216 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.913e-05/0.5083, allocations: 6.609 kB / 0.8216 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5083, allocations: 0.7031 kB / 0.8216 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.5083, allocations: 8.984 kB / 0.8216 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.5083, allocations: 3.406 kB / 0.8216 GB, free: 14.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.708e-05/0.5084, allocations: 120.8 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.5084, allocations: 1.953 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.5084, allocations: 6.422 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.5084, allocations: 4 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5084, allocations: 0.6562 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.5084, allocations: 2.188 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.785e-05/0.5085, allocations: 149.1 kB / 0.8219 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5085, allocations: 0.8438 kB / 0.8219 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/0.5086, allocations: 0 / 0.8219 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.5086, allocations: 5.219 kB / 0.8219 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.5086, allocations: 3.078 kB / 0.8219 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5086, allocations: 0.5156 kB / 0.8219 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5086, allocations: 4.188 kB / 0.8219 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.5087, allocations: 102.5 kB / 0.822 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.5087, allocations: 10.05 kB / 0.822 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.5087, allocations: 0.6562 kB / 0.822 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/0.5088, allocations: 8.891 kB / 0.822 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.5088, allocations: 7.109 kB / 0.822 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.5088, allocations: 3.219 kB / 0.822 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.5089, allocations: 86.39 kB / 0.8221 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5089, allocations: 4 kB / 0.8221 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001338/0.509, allocations: 13.22 kB / 0.8221 GB, free: 13.72 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003051/0.5093, allocations: 0.627 MB / 0.8227 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.5094, allocations: 32.44 kB / 0.8227 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5094, allocations: 0 / 0.8227 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/0.5095, allocations: 20.45 kB / 0.8228 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.5096, allocations: 3.125 kB / 0.8228 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/0.5104, allocations: 1.176 MB / 0.8239 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.5106, allocations: 0.6772 MB / 0.8246 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.5106, allocations: 6.828 kB / 0.8246 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.5107, allocations: 15.64 kB / 0.8246 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of SimCode: time 6.22e-07/0.5107, allocations: 0 / 0.8246 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.5281, allocations: 1.878 MB / 0.8264 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/7.387, allocations: 19.42 kB / 0.8264 GB, free: 10.77 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --stepSize=31104 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.329176703002304] Failed to read output from testmodel.py, exit status != 0: 7.470190398162231 7.482016811 6.974183849 Calling exit ...