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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007832/0.0007832, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0008796/0.0008797, allocations: 172.7 kB / 15.95 MB, free: 208 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.286/1.286, allocations: 223.3 MB / 240 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7408/0.7408, allocations: 132.3 MB / 423.4 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 9.438 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.408, allocations: 81.56 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004302/0.4123, allocations: 3.606 MB / 0.5867 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1635/0.5759, allocations: 136.7 MB / 0.7202 GB, free: 3.871 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007318/0.5766, allocations: 19.88 kB / 0.7202 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.5771, allocations: 123 kB / 0.7203 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.5784, allocations: 381.3 kB / 0.7207 GB, free: 3.359 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.58, allocations: 0.636 MB / 0.7213 GB, free: 2.734 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.5811, allocations: 1.036 MB / 0.7223 GB, free: 1.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007148/0.5818, allocations: 0.5343 MB / 0.7229 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004457/0.5823, allocations: 306.5 kB / 0.7231 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.5827, allocations: 334.1 kB / 0.7235 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.5827, allocations: 20 kB / 0.7235 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000732/0.5835, allocations: 347.7 kB / 0.7238 GB, free: 164 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.5837, allocations: 171.2 kB / 0.724 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.5839, allocations: 189.1 kB / 0.7242 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.585, allocations: 1.134 MB / 0.7253 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.585, allocations: 4 kB / 0.7253 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.585, allocations: 0 / 0.7253 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.585, allocations: 0 / 0.7253 GB, free: 14.66 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.00188/0.5869, allocations: 1.19 MB / 0.7264 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.5869, allocations: 12.02 kB / 0.7264 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.5871, allocations: 143.6 kB / 0.7266 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009859/0.5881, allocations: 218.4 kB / 0.7268 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009799/0.5891, allocations: 0.7069 MB / 0.7275 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/0.5892, allocations: 66 kB / 0.7275 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.5893, allocations: 84 kB / 0.7276 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.5908, allocations: 0.9496 MB / 0.7286 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.5908, allocations: 0 / 0.7286 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-05/0.5909, allocations: 36 kB / 0.7286 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.591, allocations: 24 kB / 0.7286 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.5927, allocations: 1.128 MB / 0.7297 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/0.5967, allocations: 2.585 MB / 0.7322 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.5981, allocations: 0.8254 MB / 0.733 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005148/0.5987, allocations: 286.7 kB / 0.7333 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/0.5993, allocations: 474.2 kB / 0.7338 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008147/0.6001, allocations: 442.9 kB / 0.7342 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/0.6001, allocations: 0 / 0.7342 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002811/0.6029, allocations: 1.108 MB / 0.7353 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.603, allocations: 192.5 kB / 0.7355 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007098/0.6038, allocations: 0.5979 MB / 0.736 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.6038, allocations: 37.7 kB / 0.7361 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.6041, allocations: 404.1 kB / 0.7365 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.6044, allocations: 240.5 kB / 0.7367 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.6044, allocations: 20 kB / 0.7367 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.6046, allocations: 378.8 kB / 0.7371 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.6051, allocations: 221.2 kB / 0.7373 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.6056, allocations: 334.7 kB / 0.7376 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.6061, allocations: 271.1 kB / 0.7379 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6061, allocations: 0 / 0.7379 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001606/0.6078, allocations: 0.7469 MB / 0.7386 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6078, allocations: 4 kB / 0.7386 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6078, allocations: 4.094 kB / 0.7386 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.6083, allocations: 80.77 kB / 0.7387 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.6089, allocations: 147.8 kB / 0.7388 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.6109, allocations: 1.508 MB / 0.7403 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.6114, allocations: 87.41 kB / 0.7404 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.6115, allocations: 27.98 kB / 0.7404 GB, free: 14.54 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: 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.0004069/0.6119, allocations: 259.2 kB / 0.7406 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.612, allocations: 79.06 kB / 0.7407 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.6142, allocations: 1.01 MB / 0.7417 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.6142, allocations: 11.95 kB / 0.7417 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6143, allocations: 11.98 kB / 0.7417 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.6143, allocations: 3.984 kB / 0.7417 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/0.6173, allocations: 1.896 MB / 0.7436 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6173, allocations: 0 / 0.7436 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.6179, allocations: 147.8 kB / 0.7437 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/0.6184, allocations: 80.86 kB / 0.7438 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/0.6185, allocations: 31.92 kB / 0.7438 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.6202, allocations: 1.548 MB / 0.7453 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6202, allocations: 0 / 0.7453 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.622, allocations: 0.9258 MB / 0.7462 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/0.6224, allocations: 275.9 kB / 0.7465 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.6225, allocations: 20 kB / 0.7465 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005356/0.6231, allocations: 71.89 kB / 0.7466 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.6232, allocations: 56.91 kB / 0.7467 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/0.6233, allocations: 39.97 kB / 0.7467 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005862/0.6239, allocations: 431 kB / 0.7471 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6239, allocations: 0 / 0.7471 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008813/0.6248, allocations: 311.2 kB / 0.7474 GB, free: 7.109 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 (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.003266/0.628, allocations: 1.975 MB / 0.7493 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.6296, allocations: 0.7396 MB / 0.75 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6296, allocations: 0 / 0.75 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008304/0.6304, allocations: 496.2 kB / 0.7505 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.6315, allocations: 254.8 kB / 0.7508 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009046/0.6406, allocations: 4.839 MB / 0.7555 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/0.6412, allocations: 1.019 MB / 0.7565 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008884/0.6421, allocations: 258.2 kB / 0.7567 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005421/0.6427, allocations: 371.2 kB / 0.7571 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of SimCode: time 1.853e-06/0.6427, allocations: 4 kB / 0.7571 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.683, allocations: 20.4 MB / 0.777 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.6833, allocations: 289.2 kB / 0.7773 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/2.963, allocations: 0 / 0.7773 GB, free: 8.953 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) Environment - environmentSimulation: