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.0007227/0.0007227, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.001767, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006906/0.0006906, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009616/0.001652, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9943/0.9943, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09449/1.089, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.8913/0.8913, allocations: 155.4 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2952/1.187, allocations: 49.13 MB / 448.6 MB, free: 5.934 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.492e-06/1.492e-06, allocations: 0 / 450 MB, free: 4.605 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.928e-05, allocations: 5.297 kB / 450 MB, free: 4.602 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002925/0.002944, allocations: 1.714 MB / 451.7 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003969, allocations: 0.5913 MB / 452.3 MB, free: 2.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.004039, allocations: 0 / 452.3 MB, free: 2.32 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.004071, allocations: 4.438 kB / 452.3 MB, free: 2.316 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.004274, allocations: 49.91 kB / 452.3 MB, free: 2.277 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.004453, allocations: 48.48 kB / 452.4 MB, free: 2.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.004623, allocations: 112.5 kB / 452.5 MB, free: 2.137 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.00474, allocations: 15.98 kB / 452.5 MB, free: 2.121 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.005001, allocations: 83.73 kB / 452.6 MB, free: 2.039 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.005129, allocations: 43.88 kB / 452.6 MB, free: 1.996 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.005153, allocations: 8.875 kB / 452.7 MB, free: 1.988 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.00524, allocations: 16 kB / 452.7 MB, free: 1.973 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.005271, allocations: 12 kB / 452.7 MB, free: 1.961 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.005316, allocations: 25.22 kB / 452.7 MB, free: 1.938 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.005484, allocations: 75.69 kB / 452.8 MB, free: 1.863 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.005496, allocations: 0 / 452.8 MB, free: 1.863 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005497, allocations: 0.6562 kB / 452.8 MB, free: 1.863 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.005507, allocations: 0 / 452.8 MB, free: 1.863 MB / 426.7 MB 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.0006235/0.006131, allocations: 319.6 kB / 453.1 MB, free: 1.531 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.00617, allocations: 12.66 kB / 453.1 MB, free: 1.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.006388, allocations: 102.5 kB / 453.2 MB, free: 1.402 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.006509, allocations: 127.3 kB / 453.3 MB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.006527, allocations: 8.375 kB / 453.3 MB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.006543, allocations: 4.375 kB / 453.3 MB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.006682, allocations: 78.89 kB / 453.4 MB, free: 1.156 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.00669, allocations: 1.281 kB / 453.4 MB, free: 1.156 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.006702, allocations: 4.375 kB / 453.4 MB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.006712, allocations: 7.938 kB / 453.4 MB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.006767, allocations: 24.72 kB / 453.5 MB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.007111, allocations: 196.1 kB / 453.6 MB, free: 0.918 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.007302, allocations: 71.95 kB / 453.7 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.007339, allocations: 20.86 kB / 453.7 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.007357, allocations: 11.86 kB / 453.7 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.007498, allocations: 84.19 kB / 453.8 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.007499, allocations: 0 / 453.8 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001833/0.007683, allocations: 89.16 kB / 453.9 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.00772, allocations: 55.41 kB / 454 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.007803, allocations: 126.6 kB / 454.1 MB, free: 428 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.007828, allocations: 26.33 kB / 454.1 MB, free: 396 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.00787, allocations: 92.31 kB / 454.2 MB, free: 296 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.007913, allocations: 40.44 kB / 454.2 MB, free: 256 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.007962, allocations: 25.7 kB / 454.3 MB, free: 224 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.00808, allocations: 329.8 kB / 454.6 MB, free: 15.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.008108, allocations: 8 kB / 454.6 MB, free: 15.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/0.008135, allocations: 15.73 kB / 454.6 MB, free: 15.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.512e-05/0.00821, allocations: 44.81 kB / 454.7 MB, free: 15.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.008212, allocations: 0 / 454.7 MB, free: 15.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001191/0.008332, allocations: 73.61 kB / 454.7 MB, free: 15.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.008346, allocations: 4 kB / 454.7 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.008351, allocations: 4.844 kB / 454.7 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.008363, allocations: 0 / 454.7 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.008459, allocations: 23.97 kB / 454.8 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.008464, allocations: 8.812 kB / 454.8 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.008523, allocations: 11.94 kB / 454.8 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.008532, allocations: 1.062 kB / 454.8 MB, free: 15.7 MB / 442.7 MB 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.869e-05/0.008611, allocations: 118.7 kB / 454.9 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.008629, allocations: 8.562 kB / 454.9 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.008788, allocations: 90.58 kB / 455 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.008792, allocations: 4.688 kB / 455 MB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-06/0.008793, allocations: 0 / 455 MB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.008798, allocations: 0.5625 kB / 455 MB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.008914, allocations: 101.8 kB / 455.1 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.008916, allocations: 0.5625 kB / 455.1 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.008983, allocations: 20.58 kB / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.009003, allocations: 16.72 kB / 455.1 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009006, allocations: 0.875 kB / 455.1 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.009018, allocations: 7.984 kB / 455.2 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.009019, allocations: 4.531 kB / 455.2 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00902, allocations: 0 / 455.2 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.009152, allocations: 108.6 kB / 455.3 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.009177, allocations: 7.938 kB / 455.3 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.987e-05/0.009227, allocations: 4 kB / 455.3 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.009267, allocations: 15.97 kB / 455.3 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.009281, allocations: 4.906 kB / 455.3 MB, free: 15.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.909e-05/0.00931, allocations: 21.7 kB / 455.3 MB, free: 15.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00931, allocations: 0.5 kB / 455.3 MB, free: 15.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001839/0.009494, allocations: 24 kB / 455.3 MB, free: 15.1 MB / 442.7 MB 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 9.541e-05/0.009589, allocations: 87.31 kB / 455.4 MB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.009714, allocations: 57.78 kB / 455.5 MB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.009723, allocations: 4 kB / 455.5 MB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.009796, allocations: 45.69 kB / 455.5 MB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.009909, allocations: 32.16 kB / 455.6 MB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.01191, allocations: 233.2 kB / 455.8 MB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.959e-05/0.01196, allocations: 68.38 kB / 455.9 MB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.01201, allocations: 10.36 kB / 455.9 MB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.01209, allocations: 63.31 kB / 455.9 MB, free: 14.47 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01209, allocations: 0.875 kB / 455.9 MB, free: 14.47 MB / 442.7 MB Notification: Performance of Templates: time 0.003417/0.01551, allocations: 1.117 MB / 457 MB, free: 13.43 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7615298898890615]