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.0007356/0.0007356, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.000761/0.000761, allocations: 215.9 kB / 23.01 MB, free: 3.098 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.8584/0.8584, allocations: 230.6 MB / 256.8 MB, free: 9.82 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.7479/0.7479, allocations: 203.8 MB / 0.5049 GB, free: 10.73 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.001266/0.001266, allocations: 66.22 kB / 0.7195 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.415, allocations: 102 MB / 0.8191 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001759/0.4167, allocations: 1.65 MB / 0.8207 GB, free: 408 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006331/0.4174, allocations: 0.6216 MB / 0.8213 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.4174, allocations: 0 / 0.8213 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.4175, allocations: 10.45 kB / 0.8213 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.4177, allocations: 33.7 kB / 0.8214 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.4178, allocations: 44.52 kB / 0.8214 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.4179, allocations: 117.7 kB / 0.8215 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.418, allocations: 16.27 kB / 0.8215 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.4181, allocations: 51.77 kB / 0.8216 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.999e-05/0.4182, allocations: 52.67 kB / 0.8216 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.4183, allocations: 7.719 kB / 0.8216 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.4183, allocations: 16.61 kB / 0.8216 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.4183, allocations: 21.34 kB / 0.8217 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.4184, allocations: 49.91 kB / 0.8217 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.4185, allocations: 102.4 kB / 0.8218 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4185, allocations: 0 / 0.8218 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4185, allocations: 4 kB / 0.8218 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4185, allocations: 4.109 kB / 0.8218 GB, free: 15.71 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.0005033/0.419, allocations: 324.8 kB / 0.8221 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.4191, allocations: 9.312 kB / 0.8221 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.4192, allocations: 16.36 kB / 0.8222 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.4193, allocations: 128.9 kB / 0.8223 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.4193, allocations: 8.188 kB / 0.8223 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.4193, allocations: 7.375 kB / 0.8223 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.4194, allocations: 88.8 kB / 0.8224 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.4195, allocations: 0 / 0.8224 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4195, allocations: 4 kB / 0.8224 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4195, allocations: 5.016 kB / 0.8224 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.37e-05/0.4196, allocations: 53.81 kB / 0.8224 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.4199, allocations: 310.2 kB / 0.8227 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.4201, allocations: 104 kB / 0.8228 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.4202, allocations: 37.45 kB / 0.8229 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.4202, allocations: 4.109 kB / 0.8229 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.4203, allocations: 101.3 kB / 0.823 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.4203, allocations: 0 / 0.823 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002404/0.4206, allocations: 151 kB / 0.8231 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.4206, allocations: 52.72 kB / 0.8232 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.4207, allocations: 125 kB / 0.8233 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.4207, allocations: 27.61 kB / 0.8233 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.4207, allocations: 105.5 kB / 0.8234 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.4208, allocations: 38.47 kB / 0.8234 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.4208, allocations: 29.16 kB / 0.8235 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.4209, allocations: 323.5 kB / 0.8238 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.397e-05/0.4209, allocations: 30.95 kB / 0.8238 GB, free: 14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.421, allocations: 30.69 kB / 0.8238 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.302e-05/0.4211, allocations: 65.62 kB / 0.8239 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4211, allocations: 1.156 kB / 0.8239 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001212/0.4212, allocations: 117 kB / 0.824 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.4212, allocations: 5.281 kB / 0.824 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4212, allocations: 0 / 0.824 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4212, allocations: 2.844 kB / 0.824 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.4213, allocations: 21.42 kB / 0.824 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.4213, allocations: 0 / 0.824 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.4213, allocations: 15.97 kB / 0.8241 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.4213, allocations: 2.203 kB / 0.8241 GB, free: 13.88 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 6.295e-05/0.4214, allocations: 119.7 kB / 0.8242 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.4214, allocations: 9.422 kB / 0.8242 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.4216, allocations: 143.6 kB / 0.8243 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.4216, allocations: 6.188 kB / 0.8243 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.4216, allocations: 0 / 0.8243 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4216, allocations: 6.75 kB / 0.8243 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.4217, allocations: 186.1 kB / 0.8245 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.4217, allocations: 1.062 kB / 0.8245 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.4217, allocations: 19.23 kB / 0.8245 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4217, allocations: 1.375 kB / 0.8245 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.4217, allocations: 2.5 kB / 0.8245 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4218, allocations: 1.094 kB / 0.8245 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.4218, allocations: 0 / 0.8245 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.4219, allocations: 167 kB / 0.8247 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.4219, allocations: 11.92 kB / 0.8247 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.4219, allocations: 4.438 kB / 0.8247 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.572e-05/0.422, allocations: 11.94 kB / 0.8247 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.422, allocations: 11.64 kB / 0.8247 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.422, allocations: 12.84 kB / 0.8247 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.199e-05/0.4221, allocations: 100.2 kB / 0.8248 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4221, allocations: 4 kB / 0.8248 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001402/0.4222, allocations: 24.62 kB / 0.8249 GB, free: 13.26 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 7.428e-05/0.4223, allocations: 99.88 kB / 0.825 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.4224, allocations: 86.88 kB / 0.825 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.4224, allocations: 0 / 0.825 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.804e-05/0.4225, allocations: 42.64 kB / 0.8251 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.4226, allocations: 11.41 kB / 0.8251 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.4232, allocations: 243.6 kB / 0.8253 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.4233, allocations: 0.6975 MB / 0.826 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.4234, allocations: 15.53 kB / 0.826 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.4234, allocations: 0 / 0.826 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.002094/0.4255, allocations: 1.28 MB / 0.8273 GB, free: 12.11 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.242045871913433] Failed to read output from testmodel.py, exit status != 0: 0.4312593820504844 0.439112249 0.01863311 Calling exit ...