Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001393/0.001393, allocations: 78.41 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00158/0.00158, allocations: 169.7 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.417/1.417, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.173/1.173, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.7e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00347/0.003497, allocations: 1.471 MB / 0.62 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005296/0.004027, allocations: 183.3 kB / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.004072, allocations: 0 / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.83e-05/0.00411, allocations: 3.938 kB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.004353, allocations: 31.78 kB / 0.6203 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.004555, allocations: 51.86 kB / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.004676, allocations: 67.7 kB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.004759, allocations: 0 / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.004846, allocations: 35.97 kB / 0.6204 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.004925, allocations: 19.91 kB / 0.6204 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.00495, allocations: 4 kB / 0.6204 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.004967, allocations: 4 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.004997, allocations: 11.98 kB / 0.6204 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.005043, allocations: 12 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.00516, allocations: 55.84 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005163, allocations: 4 kB / 0.6205 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.01e-07/0.005164, allocations: 0 / 0.6205 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.005168, allocations: 0 / 0.6205 GB, free: 2.586 MB / 0.5294 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.0005453/0.005714, allocations: 282.2 kB / 0.6208 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.005752, allocations: 12.03 kB / 0.6208 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.005802, allocations: 4.938 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.005917, allocations: 113.7 kB / 0.6209 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.005934, allocations: 4.375 kB / 0.6209 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.005945, allocations: 4.375 kB / 0.6209 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.006145, allocations: 128.2 kB / 0.621 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.006154, allocations: 4.188 kB / 0.621 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.006168, allocations: 384 / 0.621 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.006175, allocations: 4.375 kB / 0.621 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.006235, allocations: 23.91 kB / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.006584, allocations: 212.6 kB / 0.6213 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.006687, allocations: 38.52 kB / 0.6213 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.006724, allocations: 16.94 kB / 0.6213 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.006735, allocations: 0 / 0.6213 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.0069, allocations: 63.33 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.006901, allocations: 4 kB / 0.6214 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002204/0.007121, allocations: 73.62 kB / 0.6215 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.007203, allocations: 114.7 kB / 0.6216 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.0073, allocations: 101.9 kB / 0.6217 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.007323, allocations: 25.7 kB / 0.6217 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.007379, allocations: 92.08 kB / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.0074, allocations: 11.89 kB / 0.6218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.007457, allocations: 25.7 kB / 0.6218 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.007598, allocations: 310.8 kB / 0.6221 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.007631, allocations: 8 kB / 0.6221 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-05/0.007715, allocations: 93.97 kB / 0.6222 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.423e-05/0.00778, allocations: 24.86 kB / 0.6222 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007781, allocations: 0 / 0.6222 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001208/0.007902, allocations: 69.89 kB / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.007917, allocations: 4 kB / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.007924, allocations: 4.062 kB / 0.6223 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.007937, allocations: 0 / 0.6223 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.008011, allocations: 11.98 kB / 0.6223 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.008015, allocations: 0 / 0.6223 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.008125, allocations: 7.984 kB / 0.6223 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.008134, allocations: 0 / 0.6223 GB, free: 0.4961 MB / 0.5294 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 9.916e-05/0.008233, allocations: 118.9 kB / 0.6224 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.00826, allocations: 7.938 kB / 0.6224 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.008283, allocations: 7.688 kB / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.008285, allocations: 0 / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.008292, allocations: 4 kB / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.008295, allocations: 0 / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.008406, allocations: 105.3 kB / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008407, allocations: 7.938 kB / 0.6226 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.008432, allocations: 3.938 kB / 0.6226 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.008436, allocations: 3.984 kB / 0.6226 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.008447, allocations: 11.94 kB / 0.6226 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008448, allocations: 0 / 0.6226 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008449, allocations: 0 / 0.6226 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.008602, allocations: 89.08 kB / 0.6227 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.008635, allocations: 7.984 kB / 0.6227 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.008658, allocations: 7.875 kB / 0.6227 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.008766, allocations: 14.48 kB / 0.6227 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.008802, allocations: 7.984 kB / 0.6227 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.008812, allocations: 0 / 0.6227 GB, free: 48 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.78e-05/0.00888, allocations: 83.28 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.00888, allocations: 4 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001958/0.009076, allocations: 12 kB / 0.6228 GB, free: 15.95 MB / 0.545 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.0001326/0.009208, allocations: 106.2 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.009336, allocations: 32.16 kB / 0.6229 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.009338, allocations: 4 kB / 0.6229 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.369e-05/0.009382, allocations: 12 kB / 0.6229 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.009541, allocations: 4 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.009875, allocations: 132.7 kB / 0.6231 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.072e-05/0.009936, allocations: 67.34 kB / 0.6231 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.009968, allocations: 7.906 kB / 0.6231 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.01, allocations: 16.5 kB / 0.6232 GB, free: 15.52 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.01, allocations: 0 / 0.6232 GB, free: 15.52 MB / 0.545 GB Notification: Performance of Templates: time 0.003677/0.01368, allocations: 0.9332 MB / 0.6241 GB, free: 14.65 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6140764355659485] Failed to read output from testmodel.py, exit status != 0: 0.023607410490512848 0.037557444 0.029375177000000002 Calling exit ...