Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008875/0.008882, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.00243/0.00243, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5594/0.5607, allocations: 80.91 MB / 0.6646 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.01089/0.5717, allocations: 4.118 MB / 0.6687 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2447/0.8165, allocations: 150.5 MB / 0.8156 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.8179, allocations: 19.88 kB / 0.8156 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009536/0.8189, allocations: 162.5 kB / 0.8158 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.8216, allocations: 481.6 kB / 0.8162 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.8241, allocations: 0.7875 MB / 0.817 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002009/0.8261, allocations: 1.172 MB / 0.8181 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.8271, allocations: 0.6097 MB / 0.8187 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007603/0.8279, allocations: 426.5 kB / 0.8191 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000504/0.8284, allocations: 430 kB / 0.8195 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.8286, allocations: 108 kB / 0.8196 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.8296, allocations: 467.6 kB / 0.8201 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.8298, allocations: 267.1 kB / 0.8203 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.8303, allocations: 0.4935 MB / 0.8208 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.8321, allocations: 1.466 MB / 0.8223 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.8321, allocations: 0 / 0.8223 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8321, allocations: 0 / 0.8223 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.8321, allocations: 0 / 0.8223 GB, free: 15.64 MB / 0.6544 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.002078/0.8342, allocations: 1.315 MB / 0.8235 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.8343, allocations: 8.031 kB / 0.8235 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008775/0.8352, allocations: 179.5 kB / 0.8237 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.8362, allocations: 0.7267 MB / 0.8244 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.8363, allocations: 58 kB / 0.8245 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.641e-05/0.8364, allocations: 75.94 kB / 0.8246 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.8378, allocations: 0.8521 MB / 0.8254 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.8378, allocations: 0 / 0.8254 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/0.8379, allocations: 32 kB / 0.8254 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.8379, allocations: 23.98 kB / 0.8254 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.8395, allocations: 1.054 MB / 0.8265 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/0.8437, allocations: 2.316 MB / 0.8287 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.845, allocations: 0.698 MB / 0.8294 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.8455, allocations: 275.5 kB / 0.8297 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/0.8456, allocations: 32.66 kB / 0.8297 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008405/0.8465, allocations: 415.1 kB / 0.8301 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=71): time 4.077e-06/0.8465, allocations: 0 / 0.8301 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71): time 0.003068/0.8496, allocations: 1.069 MB / 0.8311 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.8497, allocations: 188.6 kB / 0.8313 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007928/0.8505, allocations: 0.5939 MB / 0.8319 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.8506, allocations: 37.7 kB / 0.8319 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.8509, allocations: 372.3 kB / 0.8323 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.8511, allocations: 240.5 kB / 0.8325 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.8513, allocations: 142.5 kB / 0.8327 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.8515, allocations: 386.7 kB / 0.833 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.852, allocations: 229.9 kB / 0.8333 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.8525, allocations: 330.8 kB / 0.8336 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/0.8535, allocations: 0.5433 MB / 0.8341 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8535, allocations: 0 / 0.8341 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001794/0.8553, allocations: 0.7627 MB / 0.8348 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.8553, allocations: 7.984 kB / 0.8349 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.8553, allocations: 4 kB / 0.8349 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/0.8559, allocations: 80.84 kB / 0.8349 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/0.8565, allocations: 143.8 kB / 0.8351 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.8587, allocations: 1.637 MB / 0.8367 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.8593, allocations: 79.42 kB / 0.8367 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/0.8594, allocations: 31.97 kB / 0.8368 GB, free: 264 kB / 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.0004693/0.8599, allocations: 255.2 kB / 0.837 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.8601, allocations: 79.17 kB / 0.8371 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.8621, allocations: 0.9511 MB / 0.838 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.8621, allocations: 8 kB / 0.838 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.8621, allocations: 3.938 kB / 0.838 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.8622, allocations: 3.984 kB / 0.838 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009166/0.8631, allocations: 0.8178 MB / 0.8388 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8631, allocations: 0 / 0.8388 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.8636, allocations: 139.8 kB / 0.839 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/0.8641, allocations: 72.78 kB / 0.839 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.8641, allocations: 19.98 kB / 0.8391 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.866, allocations: 1.666 MB / 0.8407 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.866, allocations: 0 / 0.8407 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.8677, allocations: 0.8226 MB / 0.8415 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.868, allocations: 247.8 kB / 0.8417 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.8681, allocations: 19.98 kB / 0.8417 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005083/0.8686, allocations: 57.98 kB / 0.8418 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.8688, allocations: 60.91 kB / 0.8419 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/0.8689, allocations: 31.92 kB / 0.8419 GB, free: 10.75 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005393/0.8694, allocations: 423.1 kB / 0.8423 GB, free: 10.34 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8694, allocations: 0 / 0.8423 GB, free: 10.34 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008262/0.8702, allocations: 283.3 kB / 0.8426 GB, free: 10.07 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.001407/0.8716, allocations: 0.6039 MB / 0.8432 GB, free: 9.633 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.8732, allocations: 0.7471 MB / 0.8439 GB, free: 8.875 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8732, allocations: 192 / 0.8439 GB, free: 8.875 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.874, allocations: 484.3 kB / 0.8443 GB, free: 8.391 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.8751, allocations: 298 kB / 0.8446 GB, free: 8.125 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.8786, allocations: 1.602 MB / 0.8462 GB, free: 6.496 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.8792, allocations: 0.9953 MB / 0.8472 GB, free: 5.473 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007306/0.8799, allocations: 254 kB / 0.8474 GB, free: 5.223 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.8801, allocations: 95.39 kB / 0.8475 GB, free: 5.129 MB / 0.67 GB Notification: Performance of SimCode: time 2.515e-06/0.8801, allocations: 0 / 0.8475 GB, free: 5.129 MB / 0.67 GB Notification: Performance of Templates: time 0.0225/0.9026, allocations: 13.71 MB / 0.8609 GB, free: 7.574 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)