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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 108.6 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.001239/0.001239, allocations: 187 kB / 16.66 MB, free: 6.59 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7217/0.7217, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.89 kB / 0.5813 GB, free: 7.562 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4751, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005669/0.4808, allocations: 4.108 MB / 0.6637 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1809/0.6617, allocations: 150.5 MB / 0.8106 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.6629, allocations: 15.94 kB / 0.8106 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.6634, allocations: 166.5 kB / 0.8108 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.6651, allocations: 467.7 kB / 0.8112 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.6673, allocations: 0.7867 MB / 0.812 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.6683, allocations: 1.168 MB / 0.8131 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007451/0.6691, allocations: 0.5953 MB / 0.8137 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004429/0.6695, allocations: 422.5 kB / 0.8141 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004359/0.67, allocations: 442 kB / 0.8145 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.6701, allocations: 104 kB / 0.8146 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008487/0.671, allocations: 471.6 kB / 0.8151 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.6712, allocations: 275.1 kB / 0.8153 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.6716, allocations: 0.4896 MB / 0.8158 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.6732, allocations: 1.466 MB / 0.8173 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6732, allocations: 4 kB / 0.8173 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6732, allocations: 0 / 0.8173 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.6732, allocations: 0 / 0.8173 GB, free: 4.27 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.001875/0.6751, allocations: 1.348 MB / 0.8186 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.6751, allocations: 8.031 kB / 0.8186 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008289/0.6759, allocations: 188.1 kB / 0.8188 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.677, allocations: 0.7272 MB / 0.8195 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.677, allocations: 57.94 kB / 0.8195 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/0.6771, allocations: 76 kB / 0.8196 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.6785, allocations: 0.852 MB / 0.8204 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.6785, allocations: 0 / 0.8204 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/0.6786, allocations: 36 kB / 0.8205 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.6786, allocations: 20 kB / 0.8205 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.6801, allocations: 1.054 MB / 0.8215 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/0.6834, allocations: 2.329 MB / 0.8238 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.6846, allocations: 0.7032 MB / 0.8245 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.685, allocations: 275.5 kB / 0.8247 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.125e-05/0.6851, allocations: 20.61 kB / 0.8248 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006907/0.6858, allocations: 423.2 kB / 0.8252 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=71): time 1.753e-06/0.6858, allocations: 0 / 0.8252 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71): time 0.00271/0.6885, allocations: 1.077 MB / 0.8262 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.6886, allocations: 188.6 kB / 0.8264 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006751/0.6893, allocations: 0.5861 MB / 0.827 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.6894, allocations: 37.7 kB / 0.827 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.6896, allocations: 384.9 kB / 0.8274 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.6898, allocations: 241.9 kB / 0.8276 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.6901, allocations: 150.6 kB / 0.8277 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.6902, allocations: 374.8 kB / 0.8281 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004486/0.6907, allocations: 241.9 kB / 0.8283 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/0.6912, allocations: 326.7 kB / 0.8286 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009649/0.6922, allocations: 0.5433 MB / 0.8292 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.6922, allocations: 0 / 0.8292 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001679/0.6939, allocations: 0.7708 MB / 0.8299 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.6939, allocations: 4 kB / 0.8299 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6939, allocations: 0 / 0.8299 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/0.6945, allocations: 84.83 kB / 0.83 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005628/0.6951, allocations: 139.8 kB / 0.8301 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.6971, allocations: 1.651 MB / 0.8318 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/0.6977, allocations: 75.58 kB / 0.8318 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/0.6978, allocations: 36.05 kB / 0.8319 GB, free: 4.805 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.0004009/0.6982, allocations: 251.4 kB / 0.8321 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.6984, allocations: 87.41 kB / 0.8322 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.7004, allocations: 0.955 MB / 0.8331 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.7004, allocations: 8 kB / 0.8331 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.7004, allocations: 4 kB / 0.8331 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.7004, allocations: 3.984 kB / 0.8331 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008833/0.7013, allocations: 0.8139 MB / 0.8339 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7013, allocations: 0 / 0.8339 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.7019, allocations: 143.8 kB / 0.8341 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004065/0.7023, allocations: 72.77 kB / 0.8341 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.7023, allocations: 23.98 kB / 0.8342 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.7041, allocations: 1.662 MB / 0.8358 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7041, allocations: 3.984 kB / 0.8358 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.7057, allocations: 0.8268 MB / 0.8366 GB, free: 15.72 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.706, allocations: 256.3 kB / 0.8368 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.7061, allocations: 16 kB / 0.8369 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.7066, allocations: 51.94 kB / 0.8369 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.7068, allocations: 56.92 kB / 0.837 GB, free: 15.33 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/0.7068, allocations: 27.98 kB / 0.837 GB, free: 15.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000506/0.7073, allocations: 431 kB / 0.8374 GB, free: 14.89 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7073, allocations: 3.938 kB / 0.8374 GB, free: 14.88 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007869/0.7081, allocations: 295.2 kB / 0.8377 GB, free: 14.59 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.001336/0.7095, allocations: 0.587 MB / 0.8383 GB, free: 14.21 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.711, allocations: 0.7512 MB / 0.839 GB, free: 13.44 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.711, allocations: 0 / 0.839 GB, free: 13.44 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007962/0.7118, allocations: 480.2 kB / 0.8394 GB, free: 12.96 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.7128, allocations: 289.7 kB / 0.8397 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.7162, allocations: 1.646 MB / 0.8413 GB, free: 11.03 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.7167, allocations: 0.9979 MB / 0.8423 GB, free: 10 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006812/0.7174, allocations: 250 kB / 0.8425 GB, free: 9.758 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.7176, allocations: 95.38 kB / 0.8426 GB, free: 9.664 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/0.7176, allocations: 0 / 0.8426 GB, free: 9.664 MB / 0.67 GB Notification: Performance of Templates: time 0.02507/0.7427, allocations: 13.71 MB / 0.856 GB, free: 12.16 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (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)