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.0009631/0.000963, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.187/1.187, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6754/0.6754, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 59.91 kB / 0.5018 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3387, allocations: 80.2 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005086/0.3438, allocations: 4.114 MB / 0.5841 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1452/0.489, allocations: 150.4 MB / 0.731 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008116/0.4898, allocations: 19.88 kB / 0.731 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.4903, allocations: 162.5 kB / 0.7312 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.4917, allocations: 479.7 kB / 0.7317 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.4934, allocations: 0.7748 MB / 0.7324 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008979/0.4943, allocations: 1.157 MB / 0.7335 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000711/0.495, allocations: 0.6098 MB / 0.7341 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004063/0.4955, allocations: 426.5 kB / 0.7345 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.4959, allocations: 430.1 kB / 0.735 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.496, allocations: 104 kB / 0.7351 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006695/0.4967, allocations: 447.6 kB / 0.7355 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.4969, allocations: 271.1 kB / 0.7357 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.4973, allocations: 493.3 kB / 0.7362 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.4986, allocations: 1.429 MB / 0.7376 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4986, allocations: 0 / 0.7376 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4986, allocations: 0 / 0.7376 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.4986, allocations: 4 kB / 0.7376 GB, free: 15.63 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.001774/0.5004, allocations: 1.315 MB / 0.7389 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.5004, allocations: 8.031 kB / 0.7389 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008028/0.5012, allocations: 179.5 kB / 0.7391 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007979/0.502, allocations: 0.6955 MB / 0.7398 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.5021, allocations: 65.98 kB / 0.7398 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.909e-05/0.5022, allocations: 76 kB / 0.7399 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.5034, allocations: 0.8481 MB / 0.7407 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.5034, allocations: 0 / 0.7407 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.5035, allocations: 32 kB / 0.7407 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.5035, allocations: 20 kB / 0.7408 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.5049, allocations: 1.054 MB / 0.7418 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.508, allocations: 2.359 MB / 0.7441 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.5091, allocations: 0.7058 MB / 0.7448 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.5095, allocations: 267.5 kB / 0.745 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.818e-05/0.5096, allocations: 32.66 kB / 0.7451 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006745/0.5103, allocations: 427 kB / 0.7455 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=71): time 1.733e-06/0.5103, allocations: 4 kB / 0.7455 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71): time 0.002603/0.5129, allocations: 1.061 MB / 0.7465 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/0.513, allocations: 196.5 kB / 0.7467 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005927/0.5136, allocations: 0.5899 MB / 0.7473 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.5137, allocations: 41.69 kB / 0.7473 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.5139, allocations: 372.3 kB / 0.7477 GB, free: 5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.5141, allocations: 232.6 kB / 0.7479 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.5143, allocations: 150.5 kB / 0.748 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5144, allocations: 382.8 kB / 0.7484 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.5148, allocations: 233.9 kB / 0.7486 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.5153, allocations: 318.8 kB / 0.7489 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008965/0.5162, allocations: 0.5511 MB / 0.7495 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5163, allocations: 0 / 0.7495 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001591/0.5178, allocations: 0.7627 MB / 0.7502 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.5179, allocations: 4 kB / 0.7502 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5179, allocations: 0 / 0.7502 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.5184, allocations: 84.83 kB / 0.7503 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.519, allocations: 147.8 kB / 0.7504 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.521, allocations: 1.634 MB / 0.752 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.5215, allocations: 73.58 kB / 0.7521 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.5216, allocations: 39.97 kB / 0.7521 GB, free: 228 kB / 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.0003218/0.5219, allocations: 247.3 kB / 0.7524 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.522, allocations: 75.09 kB / 0.7525 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.524, allocations: 0.9549 MB / 0.7534 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.524, allocations: 15.94 kB / 0.7534 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.524, allocations: 4 kB / 0.7534 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.5241, allocations: 7.984 kB / 0.7534 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.5248, allocations: 0.8176 MB / 0.7542 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5248, allocations: 0 / 0.7542 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.5253, allocations: 135.8 kB / 0.7543 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004057/0.5258, allocations: 76.72 kB / 0.7544 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.5258, allocations: 23.98 kB / 0.7544 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.5275, allocations: 1.666 MB / 0.7561 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5275, allocations: 0 / 0.7561 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.5291, allocations: 0.8225 MB / 0.7569 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.5294, allocations: 251.8 kB / 0.7571 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.847e-05/0.5295, allocations: 16 kB / 0.7571 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.53, allocations: 59.88 kB / 0.7572 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.5301, allocations: 56.92 kB / 0.7572 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.5302, allocations: 31.97 kB / 0.7573 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004813/0.5307, allocations: 427.1 kB / 0.7577 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5307, allocations: 0 / 0.7577 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007172/0.5314, allocations: 283.3 kB / 0.7579 GB, free: 10.03 MB / 0.5919 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.001144/0.5326, allocations: 0.5942 MB / 0.7585 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.5344, allocations: 0.9305 MB / 0.7594 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5344, allocations: 0 / 0.7594 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007785/0.5352, allocations: 488.5 kB / 0.7599 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/0.5362, allocations: 291 kB / 0.7602 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.5394, allocations: 1.629 MB / 0.7618 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.5399, allocations: 0.9923 MB / 0.7627 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006958/0.5406, allocations: 254 kB / 0.763 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.5408, allocations: 99.33 kB / 0.7631 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.5408, allocations: 0 / 0.7631 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of Templates: time 0.02014/0.5609, allocations: 13.55 MB / 0.7763 GB, free: 7.57 MB / 0.6075 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)