Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006765/0.006765, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001213/0.001213, allocations: 189.9 kB / 16.67 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.076/1.076, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.91 kB / 0.5856 GB, free: 3.387 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5053, allocations: 80.91 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005524/0.5109, allocations: 4.501 MB / 0.669 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1909/0.7018, allocations: 150.6 MB / 0.8161 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009813/0.7029, allocations: 19.88 kB / 0.8161 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007687/0.7037, allocations: 190.2 kB / 0.8163 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.7057, allocations: 0.5043 MB / 0.8168 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.7078, allocations: 0.8207 MB / 0.8176 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.7095, allocations: 1.32 MB / 0.8189 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.7109, allocations: 0.927 MB / 0.8198 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007773/0.7117, allocations: 0.5332 MB / 0.8203 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005997/0.7123, allocations: 0.5793 MB / 0.8209 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.7124, allocations: 140 kB / 0.821 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000894/0.7133, allocations: 0.4996 MB / 0.8215 GB, free: 420 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.7136, allocations: 350.8 kB / 0.8218 GB, free: 68 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006354/0.7143, allocations: 0.645 MB / 0.8225 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.7164, allocations: 1.836 MB / 0.8243 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.7165, allocations: 0 / 0.8243 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7165, allocations: 0 / 0.8243 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.005e-05/0.7165, allocations: 0 / 0.8243 GB, free: 13.58 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002383/0.7189, allocations: 1.584 MB / 0.8258 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.7189, allocations: 8.031 kB / 0.8258 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009259/0.7199, allocations: 215 kB / 0.826 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.721, allocations: 0.8326 MB / 0.8268 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.985e-05/0.7211, allocations: 82.3 kB / 0.8269 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.7212, allocations: 112 kB / 0.827 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.7231, allocations: 1.138 MB / 0.8281 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.7231, allocations: 0 / 0.8281 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/0.7232, allocations: 48 kB / 0.8282 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.7232, allocations: 28 kB / 0.8282 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.7252, allocations: 1.23 MB / 0.8294 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00426/0.7295, allocations: 2.98 MB / 0.8323 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.7308, allocations: 0.7746 MB / 0.8331 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.7313, allocations: 290.7 kB / 0.8333 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-05/0.7314, allocations: 40.61 kB / 0.8334 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008347/0.7323, allocations: 459.1 kB / 0.8338 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 2.264e-06/0.7323, allocations: 0 / 0.8338 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78): time 0.002931/0.7352, allocations: 1.131 MB / 0.8349 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.7353, allocations: 188.6 kB / 0.8351 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000808/0.7362, allocations: 0.692 MB / 0.8358 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.7362, allocations: 41.7 kB / 0.8358 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.7366, allocations: 0.4919 MB / 0.8363 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.7368, allocations: 260.2 kB / 0.8365 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.737, allocations: 162.5 kB / 0.8367 GB, free: 472 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.7372, allocations: 390.8 kB / 0.8371 GB, free: 72 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/0.7377, allocations: 257.9 kB / 0.8373 GB, free: 15.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/0.7383, allocations: 355.1 kB / 0.8377 GB, free: 15.46 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.7394, allocations: 0.6033 MB / 0.8382 GB, free: 14.85 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.7394, allocations: 4.062 kB / 0.8382 GB, free: 14.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001843/0.7413, allocations: 0.8447 MB / 0.8391 GB, free: 13.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.7413, allocations: 4 kB / 0.8391 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.7413, allocations: 4 kB / 0.8391 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/0.7419, allocations: 80.86 kB / 0.8392 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/0.7426, allocations: 155.8 kB / 0.8393 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.745, allocations: 1.634 MB / 0.8409 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/0.7457, allocations: 93.7 kB / 0.841 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.238e-05/0.7458, allocations: 44.03 kB / 0.841 GB, free: 11.83 MB / 0.67 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.0004889/0.7463, allocations: 275.2 kB / 0.8413 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.7464, allocations: 86.91 kB / 0.8414 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.7487, allocations: 1.023 MB / 0.8424 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.7487, allocations: 8 kB / 0.8424 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.7487, allocations: 4 kB / 0.8424 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.7487, allocations: 4.094 kB / 0.8424 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.75, allocations: 0.9894 MB / 0.8434 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7501, allocations: 0 / 0.8434 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/0.7507, allocations: 155.8 kB / 0.8435 GB, free: 9.227 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.7512, allocations: 64.8 kB / 0.8436 GB, free: 9.16 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/0.7512, allocations: 23.98 kB / 0.8436 GB, free: 9.137 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.753, allocations: 1.666 MB / 0.8452 GB, free: 7.324 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7531, allocations: 0 / 0.8452 GB, free: 7.324 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.7549, allocations: 0.8849 MB / 0.8461 GB, free: 6.418 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.7553, allocations: 271.7 kB / 0.8463 GB, free: 6.133 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.7554, allocations: 19.91 kB / 0.8464 GB, free: 6.113 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.7559, allocations: 55.94 kB / 0.8464 GB, free: 6.059 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.7561, allocations: 56.92 kB / 0.8465 GB, free: 6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.7561, allocations: 27.98 kB / 0.8465 GB, free: 5.973 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005939/0.7567, allocations: 0.4912 MB / 0.847 GB, free: 5.484 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7567, allocations: 0 / 0.847 GB, free: 5.484 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008474/0.7576, allocations: 346.9 kB / 0.8473 GB, free: 5.145 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 (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.001395/0.759, allocations: 0.5832 MB / 0.8479 GB, free: 4.73 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.7606, allocations: 0.8079 MB / 0.8487 GB, free: 3.914 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7606, allocations: 3.938 kB / 0.8487 GB, free: 3.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008717/0.7615, allocations: 0.5002 MB / 0.8492 GB, free: 3.398 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.7627, allocations: 302.8 kB / 0.8494 GB, free: 3.129 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.7669, allocations: 1.955 MB / 0.8514 GB, free: 1.148 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/0.7675, allocations: 1.086 MB / 0.8524 GB, free: 32 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008187/0.7683, allocations: 270.8 kB / 0.8527 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.7686, allocations: 103.4 kB / 0.8528 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of SimCode: time 7.82e-07/0.7686, allocations: 0 / 0.8528 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of Templates: time 0.02461/0.7932, allocations: 14.66 MB / 0.8671 GB, free: 1.152 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)