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.007543/0.007543, allocations: 104.2 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7884/0.7884, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 64.03 kB / 0.5813 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1924, allocations: 80.2 MB / 0.6597 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006612/0.1991, allocations: 4.116 MB / 0.6637 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1836/0.3827, allocations: 150.5 MB / 0.8106 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009672/0.3837, allocations: 15.94 kB / 0.8106 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.3843, allocations: 174.5 kB / 0.8108 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.386, allocations: 485.5 kB / 0.8113 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.3882, allocations: 0.7905 MB / 0.812 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.4997/0.8878, allocations: 1.163 MB / 0.8132 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.8892, allocations: 0.5913 MB / 0.8137 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008601/0.89, allocations: 429.3 kB / 0.8141 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006109/0.8907, allocations: 438.4 kB / 0.8146 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.8908, allocations: 102.5 kB / 0.8147 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.892, allocations: 473.5 kB / 0.8151 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002826/0.8923, allocations: 270.6 kB / 0.8154 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.8928, allocations: 494.1 kB / 0.8158 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.8952, allocations: 1.461 MB / 0.8173 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8952, allocations: 0.7031 kB / 0.8173 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8953, allocations: 0.5 kB / 0.8173 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.138e-05/0.8953, allocations: 2.281 kB / 0.8173 GB, free: 3.5 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.00275/0.898, allocations: 1.316 MB / 0.8186 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.8981, allocations: 9.531 kB / 0.8186 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.8992, allocations: 180.2 kB / 0.8187 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.9005, allocations: 0.7245 MB / 0.8194 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.9006, allocations: 61.09 kB / 0.8195 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.9008, allocations: 79.55 kB / 0.8196 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.9027, allocations: 0.8464 MB / 0.8204 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.9027, allocations: 5.25 kB / 0.8204 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.9028, allocations: 33 kB / 0.8204 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.9029, allocations: 20.5 kB / 0.8205 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.9049, allocations: 1.055 MB / 0.8215 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005291/0.9102, allocations: 2.311 MB / 0.8237 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.9119, allocations: 0.7069 MB / 0.8244 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.9125, allocations: 268.8 kB / 0.8247 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.65e-05/0.9126, allocations: 27.73 kB / 0.8247 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007958/0.9134, allocations: 422 kB / 0.8251 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=71): time 2.284e-06/0.9134, allocations: 0 / 0.8251 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of matching and sorting (n=71): time 0.003189/0.9166, allocations: 1.065 MB / 0.8262 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.9167, allocations: 195 kB / 0.8264 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009269/0.9176, allocations: 0.5833 MB / 0.8269 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.9178, allocations: 40.98 kB / 0.827 GB, free: 16.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.9181, allocations: 380 kB / 0.8273 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.9183, allocations: 234.6 kB / 0.8275 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.9187, allocations: 152.7 kB / 0.8277 GB, free: 16.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002581/0.9189, allocations: 377.2 kB / 0.8281 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/0.9195, allocations: 236.6 kB / 0.8283 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/0.9202, allocations: 323 kB / 0.8286 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.9213, allocations: 0.5402 MB / 0.8291 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.9213, allocations: 2.156 kB / 0.8291 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002187/0.9235, allocations: 0.765 MB / 0.8299 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.9236, allocations: 4.781 kB / 0.8299 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.9236, allocations: 6.484 kB / 0.8299 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/0.9243, allocations: 84.17 kB / 0.83 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.9249, allocations: 146.4 kB / 0.8301 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.9273, allocations: 1.624 MB / 0.8317 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008177/0.9281, allocations: 87.06 kB / 0.8318 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.972e-05/0.9282, allocations: 31.19 kB / 0.8318 GB, free: 14.57 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.0006371/0.9288, allocations: 253.9 kB / 0.832 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.9291, allocations: 78 kB / 0.8321 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.9317, allocations: 0.9619 MB / 0.833 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.9317, allocations: 8.562 kB / 0.8331 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.9317, allocations: 2.203 kB / 0.8331 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.9317, allocations: 6.531 kB / 0.8331 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.9332, allocations: 0.8214 MB / 0.8339 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.9332, allocations: 0 / 0.8339 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.9338, allocations: 139.2 kB / 0.834 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/0.9343, allocations: 71.66 kB / 0.8341 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.9344, allocations: 27.97 kB / 0.8341 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.9364, allocations: 1.645 MB / 0.8357 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.9365, allocations: 9.375 kB / 0.8357 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.9383, allocations: 0.8214 MB / 0.8365 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.9387, allocations: 258.9 kB / 0.8368 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.9388, allocations: 16.91 kB / 0.8368 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005054/0.9394, allocations: 51.56 kB / 0.8368 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.9395, allocations: 56.17 kB / 0.8369 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.385e-05/0.9396, allocations: 34.33 kB / 0.8369 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006213/0.9402, allocations: 423.4 kB / 0.8373 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.545e-06/0.9402, allocations: 0 / 0.8373 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001231/0.9415, allocations: 293.8 kB / 0.8376 GB, free: 12.25 MB / 0.6544 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.0016/0.9431, allocations: 0.5877 MB / 0.8382 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.9448, allocations: 0.745 MB / 0.8389 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.9448, allocations: 3.672 kB / 0.8389 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008306/0.9456, allocations: 493 kB / 0.8394 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.9469, allocations: 280.4 kB / 0.8396 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.9507, allocations: 1.612 MB / 0.8412 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.9514, allocations: 0.9999 MB / 0.8422 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008722/0.9523, allocations: 252.6 kB / 0.8424 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.9525, allocations: 101.2 kB / 0.8425 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/0.9525, allocations: 1.062 kB / 0.8425 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.02751/0.98, allocations: 13.69 MB / 0.8559 GB, free: 9.691 MB / 0.6544 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)