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.001009/0.001009, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001712/0.001712, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.48 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-535:34: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-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 master/package.mo): time 0.8264/0.8264, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 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.393e-06/1.393e-06, allocations: 0 / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.329e-05, allocations: 3.297 kB / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.006337/0.00635, allocations: 1.689 MB / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008593/0.007209, allocations: 0.5935 MB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.007258, allocations: 0 / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.007287, allocations: 6.75 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.00751, allocations: 48.38 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.007639, allocations: 44.59 kB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.00776, allocations: 119.9 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.05e-05/0.00784, allocations: 12.91 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.00799, allocations: 67.86 kB / 483 MB, free: 3.945 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.008081, allocations: 45.59 kB / 483.1 MB, free: 3.902 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.0081, allocations: 8 kB / 483.1 MB, free: 3.895 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.993e-05/0.00816, allocations: 15.94 kB / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.008189, allocations: 31.83 kB / 483.1 MB, free: 3.848 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.008231, allocations: 37.55 kB / 483.1 MB, free: 3.812 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.008356, allocations: 79.7 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.008358, allocations: 0.625 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.008359, allocations: 0.625 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.008362, allocations: 0 / 483.2 MB, free: 3.734 MB / 442.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.0004213/0.008784, allocations: 301.6 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.008811, allocations: 8.031 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.00896, allocations: 29.61 kB / 483.6 MB, free: 3.387 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.817e-05/0.009049, allocations: 121.8 kB / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.009061, allocations: 5.938 kB / 483.7 MB, free: 3.242 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.009075, allocations: 8.375 kB / 483.7 MB, free: 3.234 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006137/0.01521, allocations: 82.84 kB / 483.8 MB, free: 3.145 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.01522, allocations: 192 / 483.8 MB, free: 3.145 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.01523, allocations: 1.781 kB / 483.8 MB, free: 3.145 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.01524, allocations: 4.844 kB / 483.8 MB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.484e-05/0.01529, allocations: 34.34 kB / 483.8 MB, free: 3.109 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.01559, allocations: 196.7 kB / 484 MB, free: 2.902 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.01574, allocations: 67.16 kB / 484.1 MB, free: 2.828 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.01577, allocations: 26.03 kB / 484.1 MB, free: 2.801 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.01579, allocations: 11.88 kB / 484.1 MB, free: 2.789 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.0159, allocations: 92.34 kB / 484.2 MB, free: 2.688 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.0159, allocations: 0 / 484.2 MB, free: 2.688 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001454/0.01605, allocations: 78.59 kB / 484.3 MB, free: 2.605 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.01607, allocations: 60.53 kB / 484.3 MB, free: 2.535 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.01615, allocations: 114.7 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.01617, allocations: 29.7 kB / 484.5 MB, free: 2.375 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.0162, allocations: 93.38 kB / 484.6 MB, free: 2.277 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.01623, allocations: 35.83 kB / 484.6 MB, free: 2.242 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.01627, allocations: 25.7 kB / 484.6 MB, free: 2.211 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.01635, allocations: 328 kB / 484.9 MB, free: 1.883 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.01638, allocations: 11.98 kB / 485 MB, free: 1.871 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.319e-05/0.0164, allocations: 16 kB / 485 MB, free: 1.855 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.871e-05/0.01646, allocations: 40.81 kB / 485 MB, free: 1.812 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.01646, allocations: 0.9688 kB / 485 MB, free: 1.812 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.519e-05/0.01656, allocations: 84.03 kB / 485.1 MB, free: 1.727 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.01657, allocations: 5.438 kB / 485.1 MB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.01657, allocations: 0 / 485.1 MB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.01658, allocations: 4 kB / 485.1 MB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.01666, allocations: 15.98 kB / 485.1 MB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.01666, allocations: 4.719 kB / 485.1 MB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.01671, allocations: 4 kB / 485.1 MB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.01672, allocations: 8.766 kB / 485.1 MB, free: 1.688 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 6.093e-05/0.01678, allocations: 110.7 kB / 485.2 MB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.0168, allocations: 11.94 kB / 485.3 MB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.01692, allocations: 95.08 kB / 485.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.01692, allocations: 5.031 kB / 485.4 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01692, allocations: 0.5938 kB / 485.4 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.01693, allocations: 3.984 kB / 485.4 MB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.01703, allocations: 99.2 kB / 485.5 MB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.01703, allocations: 0 / 485.5 MB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.01708, allocations: 20 kB / 485.5 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.01709, allocations: 0 / 485.5 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.0171, allocations: 8.859 kB / 485.5 MB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.0171, allocations: 0 / 485.5 MB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.0171, allocations: 5.312 kB / 485.5 MB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.01721, allocations: 109 kB / 485.6 MB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.01722, allocations: 7.953 kB / 485.6 MB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.01724, allocations: 3.938 kB / 485.6 MB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.01729, allocations: 12.83 kB / 485.6 MB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.01732, allocations: 8.969 kB / 485.6 MB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.01733, allocations: 8.578 kB / 485.6 MB, free: 1.145 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.269e-05/0.01735, allocations: 26.64 kB / 485.7 MB, free: 1.117 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01735, allocations: 1.906 kB / 485.7 MB, free: 1.117 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001592/0.01751, allocations: 24 kB / 485.7 MB, free: 1.094 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 7.913e-05/0.01759, allocations: 88.28 kB / 485.8 MB, free: 1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.01769, allocations: 58.42 kB / 485.8 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.0177, allocations: 4 kB / 485.8 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.01775, allocations: 36.78 kB / 485.9 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.962e-05/0.01783, allocations: 8 kB / 485.9 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006657/0.02449, allocations: 218.9 kB / 486.1 MB, free: 0.6523 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.682e-05/0.02452, allocations: 69.06 kB / 486.2 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.038e-05/0.02457, allocations: 15.55 kB / 486.2 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.02464, allocations: 64.12 kB / 486.2 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02464, allocations: 0 / 486.2 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of Templates: time 0.004076/0.02872, allocations: 1.175 MB / 487.4 MB, free: 15.4 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8069286183454096]