Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001477/0.001477, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001578/0.001578, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.41/1.41, allocations: 177.1 MB / 202.8 MB, free: 9.145 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.157/1.157, allocations: 154.6 MB / 413.8 MB, free: 5.223 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.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.393e-05, allocations: 3.344 kB / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003169/0.003203, allocations: 1.49 MB / 0.6201 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.004222, allocations: 474.7 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.004274, allocations: 0 / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/0.004311, allocations: 7.922 kB / 0.6205 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.004566, allocations: 31.78 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 9.198e-05/0.004658, allocations: 15.92 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.004767, allocations: 55.78 kB / 0.6206 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.004867, allocations: 11.94 kB / 0.6206 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.005079, allocations: 39.84 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.538e-05/0.005174, allocations: 23.95 kB / 0.6207 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.005195, allocations: 4 kB / 0.6207 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.466e-05/0.00521, allocations: 4 kB / 0.6207 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.005233, allocations: 7.938 kB / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.005279, allocations: 19.98 kB / 0.6207 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.005403, allocations: 39.88 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005406, allocations: 0 / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.005407, allocations: 0 / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.005413, allocations: 0 / 0.6208 GB, free: 2.312 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.0006884/0.006101, allocations: 286.2 kB / 0.621 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.006144, allocations: 8.031 kB / 0.621 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.006188, allocations: 0.9375 kB / 0.621 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.006339, allocations: 121.7 kB / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.006359, allocations: 4.375 kB / 0.6212 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.006375, allocations: 8.375 kB / 0.6212 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.006529, allocations: 54.23 kB / 0.6212 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.006539, allocations: 192 / 0.6212 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.006552, allocations: 384 / 0.6212 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.006562, allocations: 7.938 kB / 0.6212 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.739e-05/0.006629, allocations: 15.98 kB / 0.6213 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.007059, allocations: 212.5 kB / 0.6215 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.007188, allocations: 50.42 kB / 0.6215 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.007237, allocations: 20.86 kB / 0.6215 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.007252, allocations: 4 kB / 0.6215 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.007433, allocations: 71.41 kB / 0.6216 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.007434, allocations: 0 / 0.6216 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002694/0.007704, allocations: 81.62 kB / 0.6217 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.007764, allocations: 55.41 kB / 0.6217 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.007886, allocations: 109.8 kB / 0.6218 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.007908, allocations: 25.7 kB / 0.6219 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.007974, allocations: 88.12 kB / 0.6219 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.008003, allocations: 15.89 kB / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.008046, allocations: 17.72 kB / 0.622 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.008224, allocations: 318.8 kB / 0.6223 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.008259, allocations: 16 kB / 0.6223 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.008289, allocations: 12 kB / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.709e-05/0.008357, allocations: 32.84 kB / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.008358, allocations: 0 / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001218/0.00848, allocations: 73.52 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.008495, allocations: 4 kB / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.0085, allocations: 3.938 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.008516, allocations: 0 / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.008594, allocations: 8.438 kB / 0.6224 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.008599, allocations: 0 / 0.6224 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.008659, allocations: 8 kB / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.008667, allocations: 4 kB / 0.6224 GB, free: 444 kB / 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 0.0001176/0.008785, allocations: 122.8 kB / 0.6225 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.0088, allocations: 7.891 kB / 0.6226 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.008828, allocations: 8.125 kB / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.008829, allocations: 0 / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.008834, allocations: 0 / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008837, allocations: 0 / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.008972, allocations: 117.2 kB / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.008973, allocations: 0 / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.008999, allocations: 7.938 kB / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.009005, allocations: 11.92 kB / 0.6227 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.009017, allocations: 4 kB / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.009018, allocations: 0 / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.009019, allocations: 0 / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.009182, allocations: 85.12 kB / 0.6228 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.0092, allocations: 15.94 kB / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.009243, allocations: 4.141 kB / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.009301, allocations: 7.938 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.009341, allocations: 3.984 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.009355, allocations: 4 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.262e-05/0.009427, allocations: 87.28 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.009427, allocations: 4 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001955/0.009623, allocations: 12 kB / 0.6229 GB, free: 15.88 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0001324/0.009755, allocations: 103.2 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.009892, allocations: 31.98 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009894, allocations: 0 / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.48e-05/0.009939, allocations: 12 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.01012, allocations: 10.34 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.0105, allocations: 143.2 kB / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.613e-05/0.01059, allocations: 75.28 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.01061, allocations: 0 / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.01065, allocations: 12.5 kB / 0.6233 GB, free: 15.44 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.01065, allocations: 0 / 0.6233 GB, free: 15.44 MB / 0.545 GB Notification: Performance of Templates: time 0.003325/0.01397, allocations: 0.5627 MB / 0.6238 GB, free: 14.9 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6238836497068405] Failed to read output from testmodel.py, exit status != 0: 0.02436710149049759 0.039363652000000006 0.030884248000000003 Calling exit ...