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-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_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.001025/0.001025, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001033/0.001033, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.046/1.046, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004803, allocations: 12.72 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2055, allocations: 82.31 MB / 0.5872 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004963/0.2105, allocations: 3.514 MB / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5332/0.7437, allocations: 127.5 MB / 0.7151 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.7449, allocations: 16.88 kB / 0.7152 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.7455, allocations: 67.53 kB / 0.7152 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.7478, allocations: 462.9 kB / 0.7157 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.7502, allocations: 0.6302 MB / 0.7163 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002127/0.7523, allocations: 0.7496 MB / 0.717 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009551/0.7533, allocations: 0.5309 MB / 0.7175 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008007/0.7541, allocations: 316.5 kB / 0.7178 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.7546, allocations: 308.2 kB / 0.7181 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.83e-05/0.7547, allocations: 21.22 kB / 0.7181 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.7558, allocations: 322.2 kB / 0.7184 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.7561, allocations: 167.6 kB / 0.7186 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.7563, allocations: 188.9 kB / 0.7188 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.7581, allocations: 1.141 MB / 0.7199 GB, free: 13.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.7581, allocations: 0 / 0.7199 GB, free: 13.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7581, allocations: 0 / 0.7199 GB, free: 13.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.262e-05/0.7581, allocations: 0 / 0.7199 GB, free: 13.06 MB / 0.545 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.002516/0.7607, allocations: 1.198 MB / 0.7211 GB, free: 12.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.7607, allocations: 8.906 kB / 0.7211 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.7619, allocations: 216.1 kB / 0.7213 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.7632, allocations: 0.6967 MB / 0.722 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.535e-05/0.7632, allocations: 67.25 kB / 0.722 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.7634, allocations: 87.91 kB / 0.7221 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.7652, allocations: 0.9403 MB / 0.723 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.7652, allocations: 5.312 kB / 0.723 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.772e-05/0.7653, allocations: 42.64 kB / 0.7231 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.7654, allocations: 20.78 kB / 0.7231 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.7673, allocations: 1.126 MB / 0.7242 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004547/0.7718, allocations: 2.581 MB / 0.7267 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.7734, allocations: 0.8314 MB / 0.7275 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006609/0.774, allocations: 472.5 kB / 0.728 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008704/0.7749, allocations: 435.4 kB / 0.7284 GB, free: 8.449 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 2.454e-06/0.7749, allocations: 1.5 kB / 0.7284 GB, free: 8.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002875/0.7778, allocations: 1.11 MB / 0.7295 GB, free: 7.984 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7779, allocations: 190.4 kB / 0.7297 GB, free: 7.762 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.7788, allocations: 0.5964 MB / 0.7302 GB, free: 7.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.032e-05/0.7788, allocations: 43.89 kB / 0.7303 GB, free: 7.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.7792, allocations: 408.6 kB / 0.7307 GB, free: 7.137 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.7794, allocations: 244.5 kB / 0.7309 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.7794, allocations: 11.31 kB / 0.7309 GB, free: 6.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.7796, allocations: 377.9 kB / 0.7313 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/0.78, allocations: 224.8 kB / 0.7315 GB, free: 6.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.7806, allocations: 323.7 kB / 0.7318 GB, free: 6.352 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.7811, allocations: 275.7 kB / 0.7321 GB, free: 6.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.7811, allocations: 0 / 0.7321 GB, free: 6.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001654/0.7828, allocations: 0.7419 MB / 0.7328 GB, free: 5.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7828, allocations: 8.656 kB / 0.7328 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.7828, allocations: 2.875 kB / 0.7328 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.7834, allocations: 83.38 kB / 0.7329 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.784, allocations: 140.1 kB / 0.733 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.7859, allocations: 1.538 MB / 0.7345 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006496/0.7866, allocations: 88.56 kB / 0.7346 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.7866, allocations: 23.78 kB / 0.7346 GB, free: 4.418 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004897/0.7871, allocations: 264.8 kB / 0.7349 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.7872, allocations: 75.59 kB / 0.735 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.7894, allocations: 1.006 MB / 0.7359 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.7894, allocations: 12 kB / 0.7359 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.7895, allocations: 0 / 0.7359 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.7895, allocations: 7.984 kB / 0.736 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/0.7929, allocations: 1.898 MB / 0.7378 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.793, allocations: 0 / 0.7378 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.7936, allocations: 151.9 kB / 0.738 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/0.7941, allocations: 84.72 kB / 0.738 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.14e-05/0.7942, allocations: 23.98 kB / 0.7381 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.796, allocations: 1.567 MB / 0.7396 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.796, allocations: 0 / 0.7396 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.7979, allocations: 0.9181 MB / 0.7405 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.7984, allocations: 287.6 kB / 0.7408 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.7986, allocations: 16 kB / 0.7408 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/0.7992, allocations: 71.23 kB / 0.7408 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.7994, allocations: 60.91 kB / 0.7409 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-05/0.7995, allocations: 39.88 kB / 0.7409 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005972/0.8001, allocations: 435 kB / 0.7413 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8001, allocations: 0 / 0.7413 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001091/0.8012, allocations: 303.2 kB / 0.7416 GB, free: 13.57 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/0.8027, allocations: 0.6013 MB / 0.7422 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.8044, allocations: 0.7388 MB / 0.7429 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8044, allocations: 0 / 0.7429 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009467/0.8054, allocations: 0.4929 MB / 0.7434 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.8065, allocations: 237.5 kB / 0.7437 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.8109, allocations: 2.135 MB / 0.7457 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/0.8115, allocations: 1.035 MB / 0.7468 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008918/0.8124, allocations: 258.1 kB / 0.747 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.8127, allocations: 99.39 kB / 0.7471 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.8127, allocations: 0 / 0.7471 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of Templates: time 0.02509/0.8378, allocations: 13.19 MB / 0.76 GB, free: 11.09 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) Environment - environmentSimulation: