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.0009525/0.0009525, 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.001171/0.001171, allocations: 165.9 kB / 22.45 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.8546/0.8546, 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 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.6754/0.6754, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.6181 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.75e-05, allocations: 9.234 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001655/0.001673, allocations: 1.478 MB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003215/0.001994, allocations: 191.2 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.002029, allocations: 0 / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.002052, allocations: 4 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.002241, allocations: 27.78 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.002386, allocations: 55.23 kB / 0.6198 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.936e-05/0.002465, allocations: 55.78 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.772e-05/0.002543, allocations: 11.92 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.002605, allocations: 35.97 kB / 0.6199 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.002664, allocations: 11.92 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.002687, allocations: 8 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.002697, allocations: 4 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.002721, allocations: 19.97 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.002758, allocations: 15.94 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.961e-05/0.002847, allocations: 47.91 kB / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.002849, allocations: 0 / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.62e-07/0.00285, allocations: 0 / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.002853, allocations: 4 kB / 0.62 GB, free: 11.79 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003812/0.003234, allocations: 274.3 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.003268, allocations: 9.469 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.003295, allocations: 38.75 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.00332, allocations: 4.875 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.414e-05/0.003404, allocations: 117.7 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.003416, allocations: 4.375 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.003423, allocations: 384 / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.003551, allocations: 124.2 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.003558, allocations: 192 / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.003569, allocations: 8.359 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.003575, allocations: 4.125 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.101e-05/0.003616, allocations: 23.88 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.00389, allocations: 228.1 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.411e-05/0.003964, allocations: 42.56 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.003989, allocations: 12.8 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.003997, allocations: 0 / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.004116, allocations: 67.42 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.004117, allocations: 0 / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001597/0.004277, allocations: 81.75 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.004319, allocations: 102.8 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.004376, allocations: 109.8 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.004388, allocations: 25.7 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.00442, allocations: 92.12 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.004437, allocations: 11.91 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.004468, allocations: 25.7 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.004534, allocations: 310.8 kB / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.004555, allocations: 19.92 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.345e-05/0.004598, allocations: 78.23 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.004639, allocations: 32.97 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.004641, allocations: 0 / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.113e-05/0.004712, allocations: 69.61 kB / 0.6218 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.004722, allocations: 4 kB / 0.6218 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004726, allocations: 0 / 0.6218 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.004736, allocations: 4.031 kB / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.004795, allocations: 11.94 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.004799, allocations: 0 / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.00486, allocations: 11.92 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.004867, allocations: 4 kB / 0.6218 GB, free: 9.617 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: 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 5.605e-05/0.004923, allocations: 114.8 kB / 0.622 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.004932, allocations: 7.891 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.729e-05/0.004949, allocations: 7.672 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.004951, allocations: 4 kB / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.004955, allocations: 4 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.004958, allocations: 0 / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.432e-05/0.005032, allocations: 136.7 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005033, allocations: 3.938 kB / 0.6221 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-06/0.005043, allocations: 4 kB / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.005044, allocations: 0 / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.00505, allocations: 0 / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.005052, allocations: 3.984 kB / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005052, allocations: 0 / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.162e-05/0.005134, allocations: 93 kB / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.00516, allocations: 11.94 kB / 0.6222 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.005173, allocations: 8 kB / 0.6222 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.743e-05/0.005221, allocations: 12.05 kB / 0.6222 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.005246, allocations: 7.984 kB / 0.6222 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.005255, allocations: 4 kB / 0.6222 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.005284, allocations: 83.28 kB / 0.6223 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005284, allocations: 0 / 0.6223 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001256/0.00541, allocations: 12 kB / 0.6223 GB, free: 9.031 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: 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.0002368/0.005646, allocations: 0.6279 MB / 0.623 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.375e-05/0.00573, allocations: 27.98 kB / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.005732, allocations: 4 kB / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-05/0.005757, allocations: 15.98 kB / 0.623 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.005866, allocations: 10.75 kB / 0.623 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/0.0066, allocations: 1.173 MB / 0.6242 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.377e-05/0.006633, allocations: 63.34 kB / 0.6242 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.006664, allocations: 8.266 kB / 0.6242 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.006696, allocations: 12.5 kB / 0.6242 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.006697, allocations: 4 kB / 0.6242 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.02104, allocations: 2.483 MB / 0.6267 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.71, allocations: 6.188 kB / 0.6267 GB, free: 4.652 MB / 0.5886 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: 9.18427960947156] Failed to read output from testmodel.py, exit status != 0: 6.787083367817104 6.79516053 6.790719852 Calling exit ...