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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7027/0.7027, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 403.3 MB, free: 7.062 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 105.2 kB / 484.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009893/0.0009895, allocations: 47.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1248, allocations: 80.2 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005904/0.1307, allocations: 4.511 MB / 0.6446 GB, free: 2.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4674/0.5982, allocations: 148.3 MB / 0.7894 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007621/0.599, allocations: 19.88 kB / 0.7894 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.5996, allocations: 149.8 kB / 0.7895 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.6009, allocations: 418.3 kB / 0.7899 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.6027, allocations: 0.7153 MB / 0.7906 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.6039, allocations: 1.235 MB / 0.7918 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.6049, allocations: 0.8989 MB / 0.7927 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.6055, allocations: 478 kB / 0.7932 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.606, allocations: 0.5403 MB / 0.7937 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.6061, allocations: 84 kB / 0.7938 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000749/0.6069, allocations: 431.8 kB / 0.7942 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.6071, allocations: 282.9 kB / 0.7945 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.6076, allocations: 0.5941 MB / 0.795 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.6091, allocations: 1.737 MB / 0.7967 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6091, allocations: 0 / 0.7967 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.72e-07/0.6091, allocations: 0 / 0.7967 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.6091, allocations: 0 / 0.7967 GB, free: 2.715 MB / 0.5261 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.002441/0.6116, allocations: 1.588 MB / 0.7983 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.6116, allocations: 8.031 kB / 0.7983 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009387/0.6126, allocations: 211.1 kB / 0.7985 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.6137, allocations: 0.8096 MB / 0.7993 GB, free: 4 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.677e-05/0.6138, allocations: 82.34 kB / 0.7994 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.6139, allocations: 112 kB / 0.7995 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.6157, allocations: 1.141 MB / 0.8006 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.6157, allocations: 4 kB / 0.8006 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.6158, allocations: 52.83 kB / 0.8006 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.6159, allocations: 28 kB / 0.8007 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.6177, allocations: 1.234 MB / 0.8019 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004263/0.622, allocations: 3.019 MB / 0.8048 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.6233, allocations: 0.7719 MB / 0.8056 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/0.6239, allocations: 294.3 kB / 0.8059 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.098e-05/0.624, allocations: 40.61 kB / 0.8059 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007464/0.6247, allocations: 447.3 kB / 0.8063 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=78): time 2.284e-06/0.6248, allocations: 0 / 0.8063 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of matching and sorting (n=78): time 0.002886/0.6276, allocations: 1.139 MB / 0.8074 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/0.6277, allocations: 192.6 kB / 0.8076 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008235/0.6286, allocations: 0.6921 MB / 0.8083 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.6286, allocations: 41.7 kB / 0.8083 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.629, allocations: 0.4918 MB / 0.8088 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.6292, allocations: 268.2 kB / 0.8091 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.6294, allocations: 158.5 kB / 0.8092 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.6296, allocations: 386.9 kB / 0.8096 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.6301, allocations: 261.8 kB / 0.8098 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/0.6307, allocations: 359.1 kB / 0.8102 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.6318, allocations: 0.5916 MB / 0.8108 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6318, allocations: 0 / 0.8108 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001874/0.6337, allocations: 0.8447 MB / 0.8116 GB, free: 3.094 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.6337, allocations: 13.19 kB / 0.8116 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6338, allocations: 0 / 0.8116 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/0.6344, allocations: 84.75 kB / 0.8117 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.635, allocations: 159.8 kB / 0.8118 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.6369, allocations: 1.516 MB / 0.8133 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.6375, allocations: 91.33 kB / 0.8134 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.6376, allocations: 35.92 kB / 0.8134 GB, free: 1.066 MB / 0.5417 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.0004077/0.638, allocations: 278.3 kB / 0.8137 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.6382, allocations: 90.88 kB / 0.8138 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.6405, allocations: 1.029 MB / 0.8148 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.6405, allocations: 8 kB / 0.8148 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.6405, allocations: 0 / 0.8148 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.6405, allocations: 3.984 kB / 0.8148 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.6416, allocations: 0.9861 MB / 0.8158 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.6416, allocations: 7.656 kB / 0.8158 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.6422, allocations: 151.8 kB / 0.8159 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/0.6428, allocations: 84.77 kB / 0.816 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.918e-05/0.6428, allocations: 19.98 kB / 0.816 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.6446, allocations: 1.54 MB / 0.8175 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6446, allocations: 0 / 0.8175 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.6473, allocations: 1.937 MB / 0.8194 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/0.6476, allocations: 267.9 kB / 0.8197 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.893e-05/0.6477, allocations: 23.91 kB / 0.8197 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/0.6483, allocations: 53.5 kB / 0.8197 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6484, allocations: 64.91 kB / 0.8198 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/0.6485, allocations: 32.05 kB / 0.8198 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005654/0.6491, allocations: 0.4911 MB / 0.8203 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6491, allocations: 0 / 0.8203 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008679/0.65, allocations: 346.9 kB / 0.8206 GB, free: 9.391 MB / 0.5573 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.001231/0.6512, allocations: 0.5971 MB / 0.8212 GB, free: 8.973 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.6528, allocations: 0.7966 MB / 0.822 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6528, allocations: 0 / 0.822 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000934/0.6537, allocations: 0.5043 MB / 0.8225 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.6549, allocations: 271 kB / 0.8228 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.6593, allocations: 2.946 MB / 0.8256 GB, free: 4.406 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.6599, allocations: 1.109 MB / 0.8267 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007968/0.6607, allocations: 270.8 kB / 0.827 GB, free: 3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.661, allocations: 103.4 kB / 0.8271 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of SimCode: time 2.71e-07/0.661, allocations: 0 / 0.8271 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of Templates: time 0.02267/0.6836, allocations: 14.33 MB / 0.8411 GB, free: 4.695 MB / 0.573 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)