Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001376/0.001376, allocations: 112.6 kB / 16.37 MB, free: 6 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.001503/0.001503, allocations: 196 kB / 17.31 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 63.91 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3131, allocations: 80.17 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004662/0.3178, allocations: 4.2 MB / 0.5856 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1429/0.4608, allocations: 150.5 MB / 0.7326 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009308/0.4618, allocations: 15.94 kB / 0.7326 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005387/0.4623, allocations: 178.4 kB / 0.7328 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.4639, allocations: 480.8 kB / 0.7332 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.4657, allocations: 0.8139 MB / 0.734 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.4669, allocations: 1.215 MB / 0.7352 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008617/0.4678, allocations: 0.6883 MB / 0.7359 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005292/0.4683, allocations: 454.3 kB / 0.7363 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.4688, allocations: 493.8 kB / 0.7368 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.469, allocations: 112 kB / 0.7369 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008828/0.4699, allocations: 499.6 kB / 0.7374 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.4701, allocations: 287.1 kB / 0.7376 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004195/0.4706, allocations: 0.5362 MB / 0.7382 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.4721, allocations: 1.585 MB / 0.7397 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4721, allocations: 0 / 0.7397 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4721, allocations: 4 kB / 0.7397 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.4721, allocations: 0 / 0.7397 GB, free: 11.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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002029/0.4742, allocations: 1.385 MB / 0.7411 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.4742, allocations: 8.031 kB / 0.7411 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.4753, allocations: 207.4 kB / 0.7413 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.4763, allocations: 0.7422 MB / 0.742 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.4764, allocations: 66 kB / 0.7421 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.4765, allocations: 91.98 kB / 0.7422 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.4779, allocations: 0.9573 MB / 0.7431 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.478, allocations: 3.938 kB / 0.7431 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-05/0.4781, allocations: 44 kB / 0.7431 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.4781, allocations: 20 kB / 0.7432 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.4798, allocations: 1.124 MB / 0.7443 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.4833, allocations: 2.523 MB / 0.7467 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.4847, allocations: 0.8205 MB / 0.7475 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/0.4852, allocations: 286.6 kB / 0.7478 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000597/0.4858, allocations: 470.2 kB / 0.7482 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000727/0.4866, allocations: 439.2 kB / 0.7487 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.164e-06/0.4866, allocations: 0 / 0.7487 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002803/0.4894, allocations: 1.096 MB / 0.7497 GB, free: 1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.4895, allocations: 188.6 kB / 0.7499 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.4902, allocations: 0.6096 MB / 0.7505 GB, free: 160 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.4902, allocations: 37.7 kB / 0.7505 GB, free: 116 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.2377/0.7279, allocations: 396.8 kB / 0.7509 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.7282, allocations: 243.8 kB / 0.7512 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.7285, allocations: 156.6 kB / 0.7513 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.7286, allocations: 382.1 kB / 0.7517 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005458/0.7291, allocations: 244.1 kB / 0.7519 GB, free: 167 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/0.7298, allocations: 339.8 kB / 0.7522 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.7308, allocations: 0.5687 MB / 0.7528 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.7308, allocations: 1.812 kB / 0.7528 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001882/0.7327, allocations: 0.7887 MB / 0.7536 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.7327, allocations: 5.531 kB / 0.7536 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7327, allocations: 1.438 kB / 0.7536 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.7333, allocations: 85.59 kB / 0.7536 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.734, allocations: 149 kB / 0.7538 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.7358, allocations: 1.633 MB / 0.7554 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/0.7364, allocations: 86.97 kB / 0.7555 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/0.7365, allocations: 32.55 kB / 0.7555 GB, free: 164.7 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.0003289/0.7368, allocations: 257.2 kB / 0.7557 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.7369, allocations: 80.95 kB / 0.7558 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.7392, allocations: 0.9965 MB / 0.7568 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.7393, allocations: 9.578 kB / 0.7568 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.7393, allocations: 1.375 kB / 0.7568 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.7393, allocations: 8.031 kB / 0.7568 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/0.7425, allocations: 1.895 MB / 0.7587 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7425, allocations: 0 / 0.7587 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.7431, allocations: 146.2 kB / 0.7588 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004328/0.7436, allocations: 70.05 kB / 0.7589 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.7437, allocations: 23.58 kB / 0.7589 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.7452, allocations: 1.663 MB / 0.7605 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7452, allocations: 0.5938 kB / 0.7605 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.7469, allocations: 0.9146 MB / 0.7614 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.7472, allocations: 265.4 kB / 0.7617 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.7473, allocations: 13.19 kB / 0.7617 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.7479, allocations: 60.28 kB / 0.7617 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.748, allocations: 57.47 kB / 0.7618 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.227e-05/0.7481, allocations: 40.38 kB / 0.7618 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004493/0.7485, allocations: 441.2 kB / 0.7622 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7485, allocations: 0 / 0.7622 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00075/0.7493, allocations: 313.1 kB / 0.7625 GB, free: 160.4 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.001244/0.7505, allocations: 0.6224 MB / 0.7631 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.752, allocations: 0.7718 MB / 0.7639 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.752, allocations: 2.969 kB / 0.7639 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007859/0.7528, allocations: 496.8 kB / 0.7644 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/0.7538, allocations: 289.8 kB / 0.7647 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.757, allocations: 1.715 MB / 0.7663 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.7574, allocations: 1.024 MB / 0.7673 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006324/0.758, allocations: 256.3 kB / 0.7676 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.7582, allocations: 104.8 kB / 0.7677 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.7582, allocations: 0 / 0.7677 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.01937/0.7776, allocations: 14.17 MB / 0.7815 GB, free: 143.9 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)