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.001431/0.001431, allocations: 111.5 kB / 16.37 MB, free: 6.012 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.001602/0.001602, allocations: 191.8 kB / 17.3 MB, free: 5.613 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7712/0.7712, allocations: 132.2 MB / 423.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 71.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3295, allocations: 80.17 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004745/0.3343, allocations: 4.121 MB / 0.5855 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1468/0.4811, allocations: 150.4 MB / 0.7324 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007295/0.4819, allocations: 19.88 kB / 0.7325 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.4825, allocations: 162.5 kB / 0.7326 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.4845, allocations: 466.9 kB / 0.7331 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.4865, allocations: 0.7939 MB / 0.7338 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001287/0.4878, allocations: 1.164 MB / 0.735 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007951/0.4886, allocations: 0.6039 MB / 0.7356 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.4891, allocations: 426.4 kB / 0.736 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.4896, allocations: 442 kB / 0.7364 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.4897, allocations: 100 kB / 0.7365 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008888/0.4906, allocations: 479.6 kB / 0.7369 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.4908, allocations: 263.1 kB / 0.7372 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.4912, allocations: 493.4 kB / 0.7377 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.4928, allocations: 1.472 MB / 0.7391 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4928, allocations: 0 / 0.7391 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4928, allocations: 0 / 0.7391 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.4928, allocations: 0 / 0.7391 GB, free: 12.3 MB / 0.5762 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.002054/0.4949, allocations: 1.307 MB / 0.7404 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4949, allocations: 12.03 kB / 0.7404 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009207/0.4958, allocations: 175.5 kB / 0.7406 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.497, allocations: 0.7228 MB / 0.7413 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/0.497, allocations: 58 kB / 0.7413 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/0.4971, allocations: 80 kB / 0.7414 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.4985, allocations: 0.852 MB / 0.7422 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.4985, allocations: 3.938 kB / 0.7422 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/0.4986, allocations: 32 kB / 0.7423 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.4986, allocations: 23.94 kB / 0.7423 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.5003, allocations: 1.057 MB / 0.7433 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/0.5038, allocations: 2.32 MB / 0.7456 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.505, allocations: 0.7019 MB / 0.7463 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004779/0.5055, allocations: 267.5 kB / 0.7465 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.13e-05/0.5056, allocations: 32.67 kB / 0.7466 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006855/0.5063, allocations: 423.1 kB / 0.747 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=71): time 3.427e-06/0.5063, allocations: 4 kB / 0.747 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71): time 0.002915/0.5093, allocations: 1.057 MB / 0.748 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/0.5094, allocations: 192.6 kB / 0.7482 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/0.51, allocations: 0.5938 MB / 0.7488 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.5101, allocations: 41.7 kB / 0.7488 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.5104, allocations: 368.3 kB / 0.7491 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.5106, allocations: 236.5 kB / 0.7494 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.5108, allocations: 150.5 kB / 0.7495 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5109, allocations: 378.8 kB / 0.7499 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.5114, allocations: 237.8 kB / 0.7501 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.5119, allocations: 326.8 kB / 0.7504 GB, free: 364 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2336/0.7456, allocations: 0.5374 MB / 0.7509 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.7456, allocations: 2.812 kB / 0.7509 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001953/0.7476, allocations: 0.7623 MB / 0.7517 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.7476, allocations: 5.844 kB / 0.7517 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7476, allocations: 1.156 kB / 0.7517 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005964/0.7482, allocations: 79.39 kB / 0.7518 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.7489, allocations: 154.1 kB / 0.7519 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.7507, allocations: 1.628 MB / 0.7535 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006645/0.7514, allocations: 73.34 kB / 0.7536 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.7514, allocations: 35.09 kB / 0.7536 GB, free: 165.6 MB / 0.5762 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.0003877/0.7518, allocations: 250 kB / 0.7539 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.752, allocations: 76.44 kB / 0.7539 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/0.7542, allocations: 0.9632 MB / 0.7549 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.7542, allocations: 9.25 kB / 0.7549 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7542, allocations: 3.938 kB / 0.7549 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.7542, allocations: 5.812 kB / 0.7549 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/0.7552, allocations: 0.8161 MB / 0.7557 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.7552, allocations: 0 / 0.7557 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.7558, allocations: 136.4 kB / 0.7558 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004526/0.7563, allocations: 69.41 kB / 0.7559 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.7563, allocations: 29.98 kB / 0.7559 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.7579, allocations: 1.658 MB / 0.7575 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7579, allocations: 0 / 0.7575 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.7597, allocations: 0.8214 MB / 0.7583 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/0.76, allocations: 249.5 kB / 0.7586 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.7601, allocations: 23.22 kB / 0.7586 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.7606, allocations: 61.08 kB / 0.7586 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.7608, allocations: 60.42 kB / 0.7587 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.7609, allocations: 35.44 kB / 0.7587 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005863/0.7615, allocations: 429.8 kB / 0.7591 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7615, allocations: 0 / 0.7591 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008719/0.7623, allocations: 280.4 kB / 0.7594 GB, free: 162.2 MB / 0.5762 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.001265/0.7636, allocations: 0.597 MB / 0.76 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.7651, allocations: 0.7494 MB / 0.7607 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7651, allocations: 0 / 0.7607 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007464/0.7658, allocations: 478.5 kB / 0.7612 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009535/0.7668, allocations: 284.7 kB / 0.7615 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.7699, allocations: 1.623 MB / 0.763 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.7703, allocations: 0.9976 MB / 0.764 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006642/0.771, allocations: 256.9 kB / 0.7643 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.7712, allocations: 93.08 kB / 0.7643 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.7712, allocations: 3.938 kB / 0.7644 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01799/0.7892, allocations: 13.54 MB / 0.7776 GB, free: 148.1 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)