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.006046/0.006045, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001266/0.001266, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.476/1.476, 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.8054/0.8054, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 75.88 kB / 0.5813 GB, free: 7.559 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5051, allocations: 80.2 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005714/0.5109, allocations: 4.113 MB / 0.6637 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1945/0.7055, allocations: 150.5 MB / 0.8106 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.7067, allocations: 19.88 kB / 0.8106 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009656/0.7077, allocations: 166.5 kB / 0.8108 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.7102, allocations: 475.3 kB / 0.8112 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.7128, allocations: 0.7839 MB / 0.812 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001786/0.7146, allocations: 1.176 MB / 0.8132 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008913/0.7155, allocations: 0.5942 MB / 0.8137 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005826/0.7161, allocations: 430.5 kB / 0.8141 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.7166, allocations: 441.9 kB / 0.8146 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.7167, allocations: 104 kB / 0.8147 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009432/0.7177, allocations: 471.6 kB / 0.8151 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.7179, allocations: 263.1 kB / 0.8154 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004228/0.7183, allocations: 0.4896 MB / 0.8158 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.7201, allocations: 1.474 MB / 0.8173 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7201, allocations: 0 / 0.8173 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.766e-06/0.7202, allocations: 0 / 0.8173 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.7202, allocations: 0 / 0.8173 GB, free: 4.254 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.002315/0.7225, allocations: 1.311 MB / 0.8186 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.7226, allocations: 12.03 kB / 0.8186 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009103/0.7235, allocations: 179.5 kB / 0.8187 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.7247, allocations: 0.715 MB / 0.8194 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/0.7247, allocations: 62 kB / 0.8195 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.7248, allocations: 76 kB / 0.8196 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.7263, allocations: 0.8559 MB / 0.8204 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.7263, allocations: 0 / 0.8204 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.7264, allocations: 35.98 kB / 0.8204 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.7264, allocations: 20 kB / 0.8205 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.728, allocations: 1.057 MB / 0.8215 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.7316, allocations: 2.316 MB / 0.8238 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.7328, allocations: 0.6954 MB / 0.8244 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.7333, allocations: 271.5 kB / 0.8247 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.082e-05/0.7334, allocations: 32.67 kB / 0.8247 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007278/0.7341, allocations: 419.1 kB / 0.8251 GB, free: 12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=71): time 1.653e-06/0.7341, allocations: 0 / 0.8251 GB, free: 12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71): time 0.002819/0.7369, allocations: 1.061 MB / 0.8262 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.7371, allocations: 196.5 kB / 0.8264 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/0.7378, allocations: 0.5861 MB / 0.8269 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.7379, allocations: 45.7 kB / 0.827 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.7382, allocations: 372.2 kB / 0.8273 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.7384, allocations: 232.6 kB / 0.8275 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.7387, allocations: 158.5 kB / 0.8277 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.7389, allocations: 378.7 kB / 0.8281 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.7394, allocations: 233.9 kB / 0.8283 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/0.7399, allocations: 326.8 kB / 0.8286 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009683/0.7409, allocations: 0.5433 MB / 0.8291 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.7409, allocations: 4.062 kB / 0.8291 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001716/0.7426, allocations: 0.7627 MB / 0.8299 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.7427, allocations: 10.03 kB / 0.8299 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.7427, allocations: 0 / 0.8299 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.7433, allocations: 84.83 kB / 0.83 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.7439, allocations: 143.8 kB / 0.8301 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.746, allocations: 1.634 MB / 0.8317 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/0.7466, allocations: 71.39 kB / 0.8318 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.7466, allocations: 31.98 kB / 0.8318 GB, free: 4.879 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.000362/0.747, allocations: 251.2 kB / 0.832 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.7471, allocations: 83.06 kB / 0.8321 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.7493, allocations: 0.9551 MB / 0.833 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.7493, allocations: 8 kB / 0.8331 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.7493, allocations: 0 / 0.8331 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.7493, allocations: 3.984 kB / 0.8331 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008436/0.7502, allocations: 0.8255 MB / 0.8339 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.7502, allocations: 0 / 0.8339 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.7507, allocations: 135.8 kB / 0.834 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000415/0.7511, allocations: 76.78 kB / 0.8341 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.7512, allocations: 27.92 kB / 0.8341 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.753, allocations: 1.646 MB / 0.8357 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.753, allocations: 3.984 kB / 0.8357 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.7548, allocations: 0.8264 MB / 0.8365 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.7551, allocations: 247.9 kB / 0.8367 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.7552, allocations: 20 kB / 0.8368 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.7557, allocations: 55.94 kB / 0.8368 GB, free: 15.47 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.7558, allocations: 60.86 kB / 0.8369 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.399e-05/0.7559, allocations: 27.98 kB / 0.8369 GB, free: 15.38 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005052/0.7564, allocations: 427 kB / 0.8373 GB, free: 14.97 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7564, allocations: 4 kB / 0.8373 GB, free: 14.96 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007841/0.7572, allocations: 283.2 kB / 0.8376 GB, free: 14.69 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.001384/0.7586, allocations: 0.6073 MB / 0.8382 GB, free: 14.29 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.7601, allocations: 0.7433 MB / 0.8389 GB, free: 13.53 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.7601, allocations: 0 / 0.8389 GB, free: 13.53 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008373/0.761, allocations: 480.5 kB / 0.8394 GB, free: 13.04 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.7621, allocations: 296.4 kB / 0.8396 GB, free: 12.79 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.7658, allocations: 1.609 MB / 0.8412 GB, free: 11.15 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.7664, allocations: 0.9901 MB / 0.8422 GB, free: 10.13 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007427/0.7672, allocations: 246 kB / 0.8424 GB, free: 9.887 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.7674, allocations: 107.3 kB / 0.8425 GB, free: 9.781 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.7674, allocations: 7.938 kB / 0.8425 GB, free: 9.773 MB / 0.67 GB Notification: Performance of Templates: time 0.02377/0.7912, allocations: 13.69 MB / 0.8559 GB, free: 12.27 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)