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.0007311/0.0007311, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007213/0.0007213, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8294/0.8294, allocations: 177.2 MB / 203.5 MB, free: 5.719 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.6808/0.6808, allocations: 154.5 MB / 414.5 MB, free: 0.8242 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: 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.693e-06/1.693e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.401e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001942/0.001966, allocations: 1.605 MB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007377/0.002704, allocations: 0.5648 MB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.002753, allocations: 0 / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.002915, allocations: 11.86 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.003154, allocations: 35.72 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.003315, allocations: 51.81 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.003422, allocations: 115.5 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.003519, allocations: 19.92 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.003674, allocations: 67.88 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.003756, allocations: 39.88 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.003773, allocations: 8 kB / 0.6218 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.492e-05/0.003818, allocations: 19.98 kB / 0.6218 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.00384, allocations: 23.91 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.00388, allocations: 27.92 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.004026, allocations: 115.6 kB / 0.6219 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.004029, allocations: 4 kB / 0.6219 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.00403, allocations: 0 / 0.6219 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004034, allocations: 0 / 0.6219 GB, free: 10.47 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005027/0.004537, allocations: 322 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.004571, allocations: 17.41 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.004679, allocations: 16.88 kB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.623e-05/0.004775, allocations: 121.7 kB / 0.6224 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.004792, allocations: 8.375 kB / 0.6224 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.004804, allocations: 8.375 kB / 0.6224 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.004929, allocations: 86.14 kB / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.004937, allocations: 192 / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004947, allocations: 384 / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.004953, allocations: 7.938 kB / 0.6225 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.117e-05/0.005035, allocations: 59.88 kB / 0.6226 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.005375, allocations: 264.4 kB / 0.6228 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.005577, allocations: 102.6 kB / 0.6229 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.005628, allocations: 40.84 kB / 0.6229 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.005643, allocations: 4 kB / 0.6229 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.005805, allocations: 103.2 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.005806, allocations: 0 / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0002398/0.006046, allocations: 148.9 kB / 0.6232 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.006078, allocations: 51.41 kB / 0.6232 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.006147, allocations: 125.8 kB / 0.6234 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.006158, allocations: 29.7 kB / 0.6234 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.006194, allocations: 92.38 kB / 0.6235 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.006225, allocations: 35.83 kB / 0.6235 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.006259, allocations: 29.7 kB / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.006336, allocations: 318.8 kB / 0.6238 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.185e-05/0.006378, allocations: 35.92 kB / 0.6239 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.006412, allocations: 28 kB / 0.6239 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.989e-05/0.006492, allocations: 68.72 kB / 0.624 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006495, allocations: 4 kB / 0.624 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001163/0.006611, allocations: 108.9 kB / 0.6241 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.006623, allocations: 4 kB / 0.6241 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.006626, allocations: 0 / 0.6241 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.006637, allocations: 0 / 0.6241 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.006701, allocations: 19.98 kB / 0.6241 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.006705, allocations: 7.938 kB / 0.6241 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.006758, allocations: 19.98 kB / 0.6241 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.006766, allocations: 0 / 0.6241 GB, free: 8.055 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: 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 6.302e-05/0.006829, allocations: 126.7 kB / 0.6242 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.006839, allocations: 7.953 kB / 0.6243 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.007021, allocations: 150.1 kB / 0.6244 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007023, allocations: 0 / 0.6244 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.007027, allocations: 0 / 0.6244 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.00703, allocations: 4 kB / 0.6244 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.296e-05/0.007123, allocations: 149.1 kB / 0.6245 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007124, allocations: 4 kB / 0.6245 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.007167, allocations: 19.92 kB / 0.6246 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007168, allocations: 0 / 0.6246 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.007177, allocations: 4 kB / 0.6246 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.007179, allocations: 4 kB / 0.6246 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00718, allocations: 0 / 0.6246 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.007343, allocations: 161 kB / 0.6247 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.007356, allocations: 11.94 kB / 0.6247 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.007371, allocations: 4 kB / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.007417, allocations: 12 kB / 0.6248 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.007456, allocations: 15.97 kB / 0.6248 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.007468, allocations: 4 kB / 0.6248 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.007509, allocations: 107.1 kB / 0.6249 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007509, allocations: 0 / 0.6249 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001304/0.00764, allocations: 16 kB / 0.6249 GB, free: 7.203 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: 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 8.763e-05/0.007727, allocations: 107.2 kB / 0.625 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.007859, allocations: 75.91 kB / 0.6251 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.00786, allocations: 0 / 0.6251 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.62e-05/0.007916, allocations: 51.61 kB / 0.6251 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.008035, allocations: 11.94 kB / 0.6251 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.008364, allocations: 232.2 kB / 0.6253 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.523e-05/0.00841, allocations: 79.33 kB / 0.6254 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.00845, allocations: 20.5 kB / 0.6254 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.00845, allocations: 0 / 0.6254 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of Templates: time 0.001839/0.01029, allocations: 1.32 MB / 0.6267 GB, free: 5.27 MB / 0.5886 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: 4.763963792473078] Failed to read output from testmodel.py, exit status != 0: 0.015393969602882862 0.023041647000000002 0.017485692 Calling exit ...