Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001369, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 192 kB / 16.67 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8475/0.8475, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.89 kB / 0.5813 GB, free: 7.559 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4562, allocations: 80.2 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004869/0.4611, allocations: 4.111 MB / 0.6637 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1941/0.6553, allocations: 150.5 MB / 0.8106 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009752/0.6563, allocations: 15.94 kB / 0.8106 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005781/0.6569, allocations: 162.5 kB / 0.8108 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.6587, allocations: 485.2 kB / 0.8112 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.6609, allocations: 0.7799 MB / 0.812 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.6624, allocations: 1.164 MB / 0.8131 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009276/0.6633, allocations: 0.6017 MB / 0.8137 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000657/0.664, allocations: 426.5 kB / 0.8141 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005976/0.6646, allocations: 438 kB / 0.8146 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.6648, allocations: 104 kB / 0.8147 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009842/0.6658, allocations: 471.6 kB / 0.8151 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.6661, allocations: 271.1 kB / 0.8154 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004896/0.6666, allocations: 0.4896 MB / 0.8158 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.6686, allocations: 1.473 MB / 0.8173 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6686, allocations: 0 / 0.8173 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6686, allocations: 0 / 0.8173 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.492e-05/0.6687, allocations: 0 / 0.8173 GB, free: 4.301 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.003368/0.6721, allocations: 1.348 MB / 0.8186 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.6721, allocations: 8.031 kB / 0.8186 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.6735, allocations: 180.1 kB / 0.8188 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.6755, allocations: 0.7273 MB / 0.8195 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.6756, allocations: 61.94 kB / 0.8195 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.6758, allocations: 79.94 kB / 0.8196 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.6781, allocations: 0.8559 MB / 0.8205 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.6781, allocations: 0 / 0.8205 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.6782, allocations: 32 kB / 0.8205 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.6783, allocations: 24 kB / 0.8205 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.6809, allocations: 1.054 MB / 0.8215 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.6847, allocations: 2.321 MB / 0.8238 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.6861, allocations: 0.7104 MB / 0.8245 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.6866, allocations: 267.5 kB / 0.8248 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.881e-05/0.6867, allocations: 32.66 kB / 0.8248 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.6878, allocations: 419.2 kB / 0.8252 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=71): time 2.956e-06/0.6878, allocations: 4 kB / 0.8252 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71): time 0.004122/0.6919, allocations: 1.061 MB / 0.8262 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.6921, allocations: 196.6 kB / 0.8264 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.6931, allocations: 0.5861 MB / 0.827 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-05/0.6932, allocations: 41.7 kB / 0.827 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000438/0.6937, allocations: 380.9 kB / 0.8274 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.694, allocations: 245.9 kB / 0.8276 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/0.6943, allocations: 146.6 kB / 0.8278 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.6946, allocations: 378.8 kB / 0.8281 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.6953, allocations: 237.9 kB / 0.8283 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.6963, allocations: 330.7 kB / 0.8287 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.6978, allocations: 0.5394 MB / 0.8292 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.6979, allocations: 4 kB / 0.8292 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002621/0.7005, allocations: 0.7669 MB / 0.8299 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.7005, allocations: 4 kB / 0.8299 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7005, allocations: 0 / 0.8299 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007507/0.7013, allocations: 80.84 kB / 0.83 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008603/0.7022, allocations: 147.8 kB / 0.8302 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.7051, allocations: 1.638 MB / 0.8318 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008025/0.7059, allocations: 77.5 kB / 0.8318 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.706, allocations: 35.97 kB / 0.8319 GB, free: 4.84 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006172/0.7067, allocations: 255.5 kB / 0.8321 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.7069, allocations: 83.42 kB / 0.8322 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/0.7101, allocations: 0.9589 MB / 0.8331 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.7101, allocations: 8 kB / 0.8331 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7101, allocations: 0 / 0.8331 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.7101, allocations: 3.984 kB / 0.8331 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.7116, allocations: 0.8178 MB / 0.8339 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.7117, allocations: 0 / 0.8339 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008858/0.7126, allocations: 143.8 kB / 0.8341 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005828/0.7132, allocations: 64.8 kB / 0.8341 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.78e-05/0.7133, allocations: 27.98 kB / 0.8342 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/0.7161, allocations: 1.662 MB / 0.8358 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7161, allocations: 0 / 0.8358 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.7189, allocations: 0.8269 MB / 0.8366 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005091/0.7195, allocations: 260.2 kB / 0.8368 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.7196, allocations: 20 kB / 0.8369 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/0.7204, allocations: 47.95 kB / 0.8369 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.7206, allocations: 60.91 kB / 0.837 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.424e-05/0.7207, allocations: 27.98 kB / 0.837 GB, free: 15.33 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008886/0.7216, allocations: 431 kB / 0.8374 GB, free: 14.91 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7216, allocations: 3.938 kB / 0.8374 GB, free: 14.91 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001273/0.7229, allocations: 291.2 kB / 0.8377 GB, free: 14.62 MB / 0.67 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002587/0.7255, allocations: 0.5987 MB / 0.8383 GB, free: 14.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00246/0.7279, allocations: 0.7434 MB / 0.839 GB, free: 13.47 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.728, allocations: 0 / 0.839 GB, free: 13.47 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.7293, allocations: 484.2 kB / 0.8395 GB, free: 12.98 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.7309, allocations: 289.7 kB / 0.8397 GB, free: 12.73 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005408/0.7363, allocations: 1.638 MB / 0.8413 GB, free: 11.07 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.7374, allocations: 1.002 MB / 0.8423 GB, free: 10.04 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001239/0.7386, allocations: 242 kB / 0.8425 GB, free: 9.801 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/0.739, allocations: 103.3 kB / 0.8426 GB, free: 9.699 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/0.739, allocations: 0 / 0.8426 GB, free: 9.699 MB / 0.67 GB Notification: Performance of Templates: time 0.03736/0.7764, allocations: 13.71 MB / 0.856 GB, free: 12.18 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 480]