Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001364/0.001364, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001546/0.001546, allocations: 166.7 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.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 1.22/1.22, allocations: 154.6 MB / 413.7 MB, free: 5.285 MB / 382.1 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 178] 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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.6185 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.265e-05, allocations: 4.906 kB / 0.6185 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003002/0.003034, allocations: 1.59 MB / 0.6201 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.004192, allocations: 0.564 MB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.004248, allocations: 0 / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.004284, allocations: 11.88 kB / 0.6207 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.004572, allocations: 43.7 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.004752, allocations: 55.75 kB / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.004912, allocations: 107.6 kB / 0.6209 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.005029, allocations: 23.92 kB / 0.6209 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.005232, allocations: 63.88 kB / 0.6209 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.005345, allocations: 47.88 kB / 0.621 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.00537, allocations: 8 kB / 0.621 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.653e-05/0.005427, allocations: 12 kB / 0.621 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.005462, allocations: 27.89 kB / 0.621 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.005518, allocations: 27.92 kB / 0.6211 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.005708, allocations: 115.6 kB / 0.6212 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.00571, allocations: 0 / 0.6212 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005711, allocations: 0 / 0.6212 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.005715, allocations: 0 / 0.6212 GB, free: 1.922 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007221/0.006437, allocations: 330 kB / 0.6215 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.006474, allocations: 13.47 kB / 0.6215 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.00664, allocations: 12.89 kB / 0.6215 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.006785, allocations: 125.6 kB / 0.6216 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.006805, allocations: 8.375 kB / 0.6216 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.006825, allocations: 4.375 kB / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.007018, allocations: 88.81 kB / 0.6217 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.007028, allocations: 192 / 0.6217 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.007044, allocations: 8.375 kB / 0.6217 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.007052, allocations: 7.938 kB / 0.6217 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.007175, allocations: 51.91 kB / 0.6218 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.007659, allocations: 268.3 kB / 0.622 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.007987, allocations: 102.6 kB / 0.6221 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.652e-05/0.008074, allocations: 40.83 kB / 0.6222 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.008093, allocations: 4 kB / 0.6222 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.008316, allocations: 95.25 kB / 0.6223 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.008318, allocations: 0 / 0.6223 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0003871/0.008705, allocations: 159.9 kB / 0.6224 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.008749, allocations: 51.41 kB / 0.6225 GB, free: 464 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.008875, allocations: 121.8 kB / 0.6226 GB, free: 332 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.008904, allocations: 37.69 kB / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.008963, allocations: 88.33 kB / 0.6227 GB, free: 192 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.009012, allocations: 43.81 kB / 0.6228 GB, free: 148 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.009074, allocations: 25.7 kB / 0.6228 GB, free: 116 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.009261, allocations: 318.8 kB / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.009329, allocations: 27.98 kB / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.617e-05/0.009395, allocations: 31.98 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.00953, allocations: 74.97 kB / 0.6232 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.009531, allocations: 0 / 0.6232 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002078/0.009739, allocations: 109.6 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.009756, allocations: 4 kB / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.009761, allocations: 0 / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.009778, allocations: 0 / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.009894, allocations: 19.98 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.0099, allocations: 0 / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01001, allocations: 7.984 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.01002, allocations: 4 kB / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001227/0.01014, allocations: 130.7 kB / 0.6235 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.01017, allocations: 7.953 kB / 0.6235 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.0105, allocations: 151.9 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01051, allocations: 0 / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.01051, allocations: 0 / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.01052, allocations: 3.984 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.01074, allocations: 149.1 kB / 0.6238 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01074, allocations: 3.938 kB / 0.6238 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.01083, allocations: 23.94 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01083, allocations: 0 / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.01085, allocations: 11.98 kB / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01085, allocations: 0 / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01085, allocations: 4 kB / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.01115, allocations: 161 kB / 0.624 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.01117, allocations: 7.953 kB / 0.624 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.0112, allocations: 0 / 0.624 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.01131, allocations: 11.98 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.01137, allocations: 15.97 kB / 0.624 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.01138, allocations: 4 kB / 0.624 GB, free: 14.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.337e-05/0.01147, allocations: 102.6 kB / 0.6241 GB, free: 14.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.01147, allocations: 8 kB / 0.6241 GB, free: 14.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002151/0.01168, allocations: 23.94 kB / 0.6241 GB, free: 14.64 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001425/0.01183, allocations: 103.2 kB / 0.6242 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.01204, allocations: 82.58 kB / 0.6243 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01205, allocations: 3.938 kB / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.704e-05/0.01214, allocations: 43.98 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.01233, allocations: 11.94 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.01282, allocations: 213.1 kB / 0.6246 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.534e-05/0.0129, allocations: 91.27 kB / 0.6247 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.94e-05/0.01295, allocations: 4.5 kB / 0.6247 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.01302, allocations: 20.48 kB / 0.6247 GB, free: 14.03 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.01302, allocations: 4 kB / 0.6247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of Templates: time 0.004191/0.01722, allocations: 1.071 MB / 0.6257 GB, free: 12.99 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.817410200834274] Failed to read output from testmodel.py, exit status != 0: 0.025956008583307266 0.041392979 0.03252733 Calling exit ...