Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001548/0.001548, allocations: 197.9 kB / 16.26 MB, free: 6.629 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9644/0.9644, allocations: 135.6 MB / 425.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 60.66 kB / 0.5054 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1775, allocations: 81.02 MB / 0.5845 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006062/0.1836, allocations: 4.196 MB / 0.5886 GB, free: 68 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4118/0.5954, allocations: 148.3 MB / 0.7334 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.5961, allocations: 15.78 kB / 0.7334 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006823/0.5969, allocations: 139.4 kB / 0.7336 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.5985, allocations: 409.8 kB / 0.734 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.6005, allocations: 0.7262 MB / 0.7347 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001753/0.6023, allocations: 1.206 MB / 0.7359 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.6035, allocations: 0.6824 MB / 0.7365 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008992/0.6044, allocations: 461.7 kB / 0.737 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007528/0.6051, allocations: 488.7 kB / 0.7374 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.6054, allocations: 112.1 kB / 0.7375 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.6065, allocations: 478.4 kB / 0.738 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.6068, allocations: 291 kB / 0.7383 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006911/0.6075, allocations: 0.5332 MB / 0.7388 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.6097, allocations: 1.54 MB / 0.7403 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6097, allocations: 0 / 0.7403 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6097, allocations: 0 / 0.7403 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.18e-05/0.6098, allocations: 4 kB / 0.7403 GB, free: 9.688 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003303/0.6131, allocations: 1.395 MB / 0.7417 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.6131, allocations: 12.55 kB / 0.7417 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.6144, allocations: 203.2 kB / 0.7419 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.6158, allocations: 0.7263 MB / 0.7426 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/0.6159, allocations: 67.91 kB / 0.7426 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.616, allocations: 87.28 kB / 0.7427 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.6179, allocations: 0.9521 MB / 0.7437 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.6179, allocations: 0 / 0.7437 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.797e-05/0.618, allocations: 42.25 kB / 0.7437 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.6181, allocations: 21.38 kB / 0.7437 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.62, allocations: 1.121 MB / 0.7448 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/0.6244, allocations: 2.561 MB / 0.7473 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.626, allocations: 0.8289 MB / 0.7481 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005701/0.6266, allocations: 285 kB / 0.7484 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007257/0.6273, allocations: 470 kB / 0.7488 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009431/0.6283, allocations: 451.1 kB / 0.7493 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.605e-06/0.6283, allocations: 0 / 0.7493 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003234/0.6315, allocations: 1.1 MB / 0.7503 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.6317, allocations: 188.6 kB / 0.7505 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000984/0.6327, allocations: 0.6057 MB / 0.7511 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-05/0.6328, allocations: 37.7 kB / 0.7512 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.6332, allocations: 396.2 kB / 0.7515 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.6334, allocations: 252.4 kB / 0.7518 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.6337, allocations: 150.5 kB / 0.7519 GB, free: 416 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.6339, allocations: 382.7 kB / 0.7523 GB, free: 24 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.6345, allocations: 245.9 kB / 0.7525 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.6351, allocations: 335.1 kB / 0.7528 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6363, allocations: 0.5721 MB / 0.7534 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6363, allocations: 3.562 kB / 0.7534 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002029/0.6383, allocations: 0.7864 MB / 0.7542 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6384, allocations: 10.5 kB / 0.7542 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6384, allocations: 0 / 0.7542 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/0.639, allocations: 84.86 kB / 0.7543 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.6397, allocations: 147.8 kB / 0.7544 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.6422, allocations: 1.63 MB / 0.756 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007966/0.643, allocations: 83.39 kB / 0.7561 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.907e-05/0.6431, allocations: 43.91 kB / 0.7561 GB, free: 11.93 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 (84): * Single equations (assignments): 83 * 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.0005603/0.6437, allocations: 263.3 kB / 0.7564 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.6439, allocations: 75.06 kB / 0.7564 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.6465, allocations: 1.005 MB / 0.7574 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.6465, allocations: 8 kB / 0.7574 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6465, allocations: 0 / 0.7574 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.6465, allocations: 7.922 kB / 0.7574 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/0.6503, allocations: 1.892 MB / 0.7593 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6504, allocations: 5.594 kB / 0.7593 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006114/0.651, allocations: 147.8 kB / 0.7594 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.6515, allocations: 72.78 kB / 0.7595 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.6515, allocations: 19.98 kB / 0.7595 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.6539, allocations: 1.663 MB / 0.7611 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6539, allocations: 0 / 0.7611 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.6561, allocations: 0.9218 MB / 0.762 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/0.6566, allocations: 255.8 kB / 0.7623 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.6568, allocations: 16 kB / 0.7623 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/0.6575, allocations: 59.94 kB / 0.7624 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.6576, allocations: 56.91 kB / 0.7624 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.673e-05/0.6577, allocations: 31.98 kB / 0.7624 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006927/0.6584, allocations: 439 kB / 0.7629 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6584, allocations: 0 / 0.7629 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001313/0.6597, allocations: 311.2 kB / 0.7632 GB, free: 4.469 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.002454/0.6622, allocations: 0.6139 MB / 0.7638 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002775/0.665, allocations: 0.9556 MB / 0.7647 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.665, allocations: 0 / 0.7647 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.6661, allocations: 0.4933 MB / 0.7652 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.6676, allocations: 280.9 kB / 0.7654 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.6727, allocations: 2.159 MB / 0.7675 GB, free: 172 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.6738, allocations: 1.007 MB / 0.7685 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001104/0.6749, allocations: 262.1 kB / 0.7688 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.6752, allocations: 103.4 kB / 0.7689 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of SimCode: time 9.21e-07/0.6752, allocations: 0 / 0.7689 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of Templates: time 0.02756/0.7028, allocations: 14.11 MB / 0.7827 GB, free: 0.832 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)