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.0005792/0.0005792, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.0006994/0.0006994, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 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.8195/0.8195, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.7342/0.7342, allocations: 203.8 MB / 0.5049 GB, free: 10.45 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008876/0.0008876, allocations: 62.91 kB / 0.7194 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4125, allocations: 102 MB / 0.819 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001763/0.4143, allocations: 1.604 MB / 0.8206 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008466/0.4151, allocations: 0.5663 MB / 0.8211 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.4152, allocations: 1.406 kB / 0.8211 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.4152, allocations: 9.719 kB / 0.8211 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.4154, allocations: 43.75 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.4156, allocations: 42.42 kB / 0.8212 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.4157, allocations: 114.8 kB / 0.8213 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.4158, allocations: 14.52 kB / 0.8214 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.4159, allocations: 51.84 kB / 0.8214 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.416, allocations: 50.36 kB / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.416, allocations: 7.812 kB / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.4161, allocations: 12.27 kB / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.4161, allocations: 32.5 kB / 0.8215 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.4161, allocations: 37.62 kB / 0.8215 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.4163, allocations: 99.67 kB / 0.8216 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4163, allocations: 0 / 0.8216 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4163, allocations: 1.5 kB / 0.8216 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4163, allocations: 0 / 0.8216 GB, free: 15.63 MB / 0.6198 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.0004971/0.4168, allocations: 333.5 kB / 0.822 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.4168, allocations: 9.938 kB / 0.822 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.4169, allocations: 14.34 kB / 0.822 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.545e-05/0.417, allocations: 141.7 kB / 0.8221 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.417, allocations: 2 kB / 0.8221 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.417, allocations: 7.844 kB / 0.8221 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.4172, allocations: 92.12 kB / 0.8222 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.4172, allocations: 3.984 kB / 0.8222 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.4172, allocations: 4 kB / 0.8222 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4172, allocations: 1.562 kB / 0.8222 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/0.4173, allocations: 48.2 kB / 0.8223 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.4177, allocations: 271 kB / 0.8225 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.4179, allocations: 101.8 kB / 0.8226 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.4179, allocations: 39.27 kB / 0.8227 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.418, allocations: 2 kB / 0.8227 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.4181, allocations: 95.8 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.4181, allocations: 4 kB / 0.8228 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002448/0.4184, allocations: 154.7 kB / 0.8229 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.4184, allocations: 53.09 kB / 0.823 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.423e-05/0.4185, allocations: 127 kB / 0.8231 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.4185, allocations: 25.7 kB / 0.8231 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.4185, allocations: 103.2 kB / 0.8232 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.4186, allocations: 38.2 kB / 0.8232 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.4186, allocations: 29.12 kB / 0.8233 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.4187, allocations: 321.4 kB / 0.8236 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.4187, allocations: 28.41 kB / 0.8236 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.4188, allocations: 29.77 kB / 0.8236 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.374e-05/0.4188, allocations: 69.67 kB / 0.8237 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4188, allocations: 0 / 0.8237 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001328/0.419, allocations: 113 kB / 0.8238 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.419, allocations: 6.531 kB / 0.8238 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.419, allocations: 0 / 0.8238 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.419, allocations: 0 / 0.8238 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/0.4191, allocations: 20.95 kB / 0.8238 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4191, allocations: 0 / 0.8238 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.4191, allocations: 12.3 kB / 0.8238 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.4191, allocations: 10.55 kB / 0.8238 GB, free: 13.84 MB / 0.6198 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 7.071e-05/0.4192, allocations: 123.2 kB / 0.824 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.4192, allocations: 14.02 kB / 0.824 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.4194, allocations: 143.4 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4194, allocations: 1.844 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4194, allocations: 0 / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4194, allocations: 0.5625 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.4195, allocations: 149 kB / 0.8243 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4196, allocations: 1.5 kB / 0.8243 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.4196, allocations: 18.14 kB / 0.8243 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4196, allocations: 5.734 kB / 0.8243 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4196, allocations: 6.422 kB / 0.8243 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4196, allocations: 5.219 kB / 0.8243 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4196, allocations: 0 / 0.8243 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.4198, allocations: 166 kB / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.4198, allocations: 13.3 kB / 0.8245 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.4198, allocations: 1.812 kB / 0.8245 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-05/0.4199, allocations: 6.891 kB / 0.8245 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.4199, allocations: 15.05 kB / 0.8245 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.4199, allocations: 4.547 kB / 0.8245 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.42, allocations: 104.8 kB / 0.8246 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.42, allocations: 0 / 0.8246 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001374/0.4201, allocations: 23.94 kB / 0.8246 GB, free: 13.25 MB / 0.6198 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.093e-05/0.4202, allocations: 105 kB / 0.8247 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.4203, allocations: 84.22 kB / 0.8248 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4203, allocations: 0 / 0.8248 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.099e-05/0.4204, allocations: 47 kB / 0.8248 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.4205, allocations: 7.609 kB / 0.8248 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.4209, allocations: 241.9 kB / 0.8251 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.49e-05/0.4209, allocations: 84.75 kB / 0.8252 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.421, allocations: 19.41 kB / 0.8252 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.421, allocations: 0 / 0.8252 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.002348/0.4233, allocations: 1.316 MB / 0.8265 GB, free: 12.72 MB / 0.6198 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.162432204000652] Failed to read output from testmodel.py, exit status != 0: 0.4297208269126713 0.440803528 0.022647186 Calling exit ...