Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009392/0.009392, allocations: 100.3 kB / 15.73 MB, free: 5.586 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.001851/0.001851, allocations: 188 kB / 16.67 MB, free: 5.523 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7986/0.7986, allocations: 132.2 MB / 422.7 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62.64 kB / 0.5813 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.174, allocations: 80.21 MB / 0.6597 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006925/0.1809, allocations: 4.506 MB / 0.6641 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7071/0.8881, allocations: 150.6 MB / 0.8111 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.8895, allocations: 20.69 kB / 0.8112 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009939/0.8906, allocations: 189.1 kB / 0.8113 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002706/0.8933, allocations: 0.4909 MB / 0.8118 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.8958, allocations: 0.8268 MB / 0.8126 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0021/0.8979, allocations: 1.321 MB / 0.8139 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.8995, allocations: 0.9179 MB / 0.8148 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008648/0.9003, allocations: 0.5364 MB / 0.8153 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006622/0.901, allocations: 0.5807 MB / 0.8159 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.9012, allocations: 143.4 kB / 0.816 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.9024, allocations: 0.4977 MB / 0.8165 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.9027, allocations: 349.1 kB / 0.8169 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005851/0.9033, allocations: 0.6422 MB / 0.8175 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.9054, allocations: 1.839 MB / 0.8193 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.9054, allocations: 4 kB / 0.8193 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9054, allocations: 0 / 0.8193 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.9054, allocations: 0 / 0.8193 GB, free: 9.043 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002559/0.908, allocations: 1.582 MB / 0.8208 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.908, allocations: 10.25 kB / 0.8208 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009639/0.909, allocations: 214.7 kB / 0.821 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.9102, allocations: 0.8308 MB / 0.8218 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.861e-05/0.9103, allocations: 87.83 kB / 0.8219 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.9105, allocations: 111.1 kB / 0.822 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.9123, allocations: 1.139 MB / 0.8232 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.9123, allocations: 0 / 0.8232 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.625e-05/0.9124, allocations: 56.28 kB / 0.8232 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.9125, allocations: 27.69 kB / 0.8232 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.9144, allocations: 1.228 MB / 0.8244 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/0.9189, allocations: 2.969 MB / 0.8273 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.9202, allocations: 0.778 MB / 0.8281 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.9207, allocations: 302.4 kB / 0.8284 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.977e-05/0.9208, allocations: 27.17 kB / 0.8284 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000758/0.9216, allocations: 455.6 kB / 0.8288 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.255e-06/0.9216, allocations: 0 / 0.8288 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.002983/0.9246, allocations: 1.139 MB / 0.83 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.9247, allocations: 190.8 kB / 0.8301 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008397/0.9256, allocations: 0.6891 MB / 0.8308 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.9256, allocations: 35.64 kB / 0.8308 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.926, allocations: 0.5012 MB / 0.8313 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.9263, allocations: 254 kB / 0.8316 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.9265, allocations: 161.7 kB / 0.8317 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.9267, allocations: 395.2 kB / 0.8321 GB, free: 152 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.9272, allocations: 256.7 kB / 0.8323 GB, free: 24 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.9279, allocations: 350.4 kB / 0.8327 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.9289, allocations: 0.6033 MB / 0.8333 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.929, allocations: 0 / 0.8333 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001915/0.9309, allocations: 0.8471 MB / 0.8341 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.9309, allocations: 4.938 kB / 0.8341 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.9309, allocations: 4.719 kB / 0.8341 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.9315, allocations: 87.91 kB / 0.8342 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/0.9322, allocations: 156.2 kB / 0.8343 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.9341, allocations: 1.626 MB / 0.8359 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.9348, allocations: 96.58 kB / 0.836 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.9349, allocations: 35.8 kB / 0.8361 GB, free: 13.3 MB / 0.6075 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 (92): * Single equations (assignments): 91 * 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.000442/0.9353, allocations: 283.2 kB / 0.8363 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.9355, allocations: 93.28 kB / 0.8364 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.9376, allocations: 1.023 MB / 0.8374 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.9376, allocations: 7.469 kB / 0.8374 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.9376, allocations: 2.375 kB / 0.8374 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.9377, allocations: 3.984 kB / 0.8374 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.9387, allocations: 0.9825 MB / 0.8384 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.9387, allocations: 3.938 kB / 0.8384 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.9393, allocations: 150.4 kB / 0.8385 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/0.9397, allocations: 74.81 kB / 0.8386 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.9398, allocations: 23.7 kB / 0.8386 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.9416, allocations: 1.654 MB / 0.8402 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9416, allocations: 64 / 0.8402 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.9434, allocations: 0.8915 MB / 0.8411 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.9438, allocations: 271.3 kB / 0.8414 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.9439, allocations: 17.81 kB / 0.8414 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.9444, allocations: 52.89 kB / 0.8414 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.9445, allocations: 67.17 kB / 0.8415 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.9446, allocations: 32.02 kB / 0.8415 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005865/0.9452, allocations: 0.4897 MB / 0.842 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9452, allocations: 0 / 0.842 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000848/0.9461, allocations: 338.3 kB / 0.8423 GB, free: 8.844 MB / 0.6075 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 (89): * Single equations (assignments): 86 * 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.001364/0.9474, allocations: 0.5843 MB / 0.8429 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.9491, allocations: 0.807 MB / 0.8437 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.9491, allocations: 0 / 0.8437 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008722/0.95, allocations: 0.5041 MB / 0.8442 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.9511, allocations: 304.1 kB / 0.8445 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/0.9552, allocations: 1.964 MB / 0.8464 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.9559, allocations: 1.078 MB / 0.8474 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008873/0.9568, allocations: 270.9 kB / 0.8477 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.957, allocations: 103.4 kB / 0.8478 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.957, allocations: 0 / 0.8478 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of Templates: time 0.02567/0.9827, allocations: 14.67 MB / 0.8621 GB, free: 5.406 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)