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.0008323/0.0008324, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005825/0.005825, allocations: 170.3 kB / 16.27 MB, free: 6.648 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.021/1.021, allocations: 135.3 MB / 426.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 8 kB / 0.5076 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2053, allocations: 82.3 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005778/0.2111, allocations: 3.78 MB / 0.5917 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4809/0.692, allocations: 146.6 MB / 0.7349 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008254/0.6929, allocations: 14.5 kB / 0.7349 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005481/0.6935, allocations: 136 kB / 0.735 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.6949, allocations: 405.7 kB / 0.7354 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.6971, allocations: 0.7011 MB / 0.7361 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001491/0.6986, allocations: 1.124 MB / 0.7372 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.6997, allocations: 0.6516 MB / 0.7378 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007255/0.7005, allocations: 316.9 kB / 0.7381 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.701, allocations: 338.8 kB / 0.7384 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.192e-05/0.7011, allocations: 26.38 kB / 0.7385 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.7022, allocations: 385 kB / 0.7388 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.7025, allocations: 184.5 kB / 0.739 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004706/0.703, allocations: 434.7 kB / 0.7394 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.7046, allocations: 1.441 MB / 0.7408 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.381e-06/0.7046, allocations: 4 kB / 0.7408 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7046, allocations: 0 / 0.7408 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.7047, allocations: 0 / 0.7408 GB, free: 11.87 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.002003/0.7067, allocations: 1.177 MB / 0.742 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.7067, allocations: 9.625 kB / 0.742 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.7078, allocations: 216.1 kB / 0.7422 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009949/0.7088, allocations: 0.715 MB / 0.7429 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.7089, allocations: 75.58 kB / 0.743 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.709, allocations: 86.44 kB / 0.743 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.7107, allocations: 0.9524 MB / 0.744 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.7107, allocations: 5.188 kB / 0.744 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.711e-05/0.7108, allocations: 41 kB / 0.744 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.7109, allocations: 21.41 kB / 0.744 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.7128, allocations: 1.134 MB / 0.7451 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.7169, allocations: 2.582 MB / 0.7477 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.7183, allocations: 0.8309 MB / 0.7485 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.7188, allocations: 293.3 kB / 0.7488 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006412/0.7195, allocations: 474.2 kB / 0.7492 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007975/0.7203, allocations: 449 kB / 0.7496 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.164e-06/0.7203, allocations: 0 / 0.7496 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003004/0.7233, allocations: 1.104 MB / 0.7507 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.7234, allocations: 190.3 kB / 0.7509 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008119/0.7242, allocations: 0.6152 MB / 0.7515 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-05/0.7243, allocations: 41.7 kB / 0.7515 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.7247, allocations: 396.2 kB / 0.7519 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.7249, allocations: 244.4 kB / 0.7521 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.725, allocations: 65.69 kB / 0.7522 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7251, allocations: 382.7 kB / 0.7526 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.7256, allocations: 253.9 kB / 0.7528 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/0.7263, allocations: 335.1 kB / 0.7531 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.7274, allocations: 0.576 MB / 0.7537 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7274, allocations: 4 kB / 0.7537 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001904/0.7293, allocations: 0.7942 MB / 0.7545 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.7294, allocations: 11.94 kB / 0.7545 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.7294, allocations: 96 / 0.7545 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.73, allocations: 88.8 kB / 0.7546 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/0.7307, allocations: 151.8 kB / 0.7547 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.7332, allocations: 1.519 MB / 0.7562 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009186/0.7341, allocations: 96.64 kB / 0.7563 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.7342, allocations: 27.98 kB / 0.7563 GB, free: 15.47 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.0005354/0.7347, allocations: 262.7 kB / 0.7566 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.7349, allocations: 79 kB / 0.7566 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.7373, allocations: 1.004 MB / 0.7576 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/0.7373, allocations: 8 kB / 0.7576 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7373, allocations: 0 / 0.7576 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.7373, allocations: 3.984 kB / 0.7576 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.7408, allocations: 1.9 MB / 0.7595 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.7408, allocations: 0 / 0.7595 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/0.7414, allocations: 151.7 kB / 0.7596 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/0.742, allocations: 80.78 kB / 0.7597 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.742, allocations: 23.98 kB / 0.7597 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.7439, allocations: 1.563 MB / 0.7613 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7439, allocations: 0 / 0.7613 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.746, allocations: 0.9296 MB / 0.7622 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.7465, allocations: 275.7 kB / 0.7624 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.7466, allocations: 16 kB / 0.7625 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/0.7472, allocations: 69.16 kB / 0.7625 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.7474, allocations: 68.84 kB / 0.7626 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-05/0.7474, allocations: 27.98 kB / 0.7626 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006634/0.7481, allocations: 439 kB / 0.763 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7481, allocations: 0 / 0.763 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001138/0.7493, allocations: 315.2 kB / 0.7633 GB, free: 8.031 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.001575/0.7509, allocations: 0.615 MB / 0.7639 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.7525, allocations: 0.7799 MB / 0.7647 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.7526, allocations: 0 / 0.7647 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008993/0.7535, allocations: 0.4929 MB / 0.7652 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.7547, allocations: 268.1 kB / 0.7654 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/0.7589, allocations: 2.208 MB / 0.7676 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.7596, allocations: 1.015 MB / 0.7686 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009269/0.7605, allocations: 262.1 kB / 0.7688 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.7607, allocations: 95.39 kB / 0.7689 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.7608, allocations: 0 / 0.7689 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of Templates: time 0.02379/0.7846, allocations: 13.57 MB / 0.7822 GB, free: 5.031 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)