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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009668/0.0009668, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7568/0.7568, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009404/0.0009403, allocations: 112.9 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.386e-05/2.39e-05, allocations: 4 kB / 0.5536 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5146, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.094/4.609, allocations: 1.694 GB / 2.328 GB, free: 43.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/4.609, allocations: 98.5 kB / 2.328 GB, free: 43.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5375/5.147, allocations: 67.22 MB / 2.393 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.025e-06/5.147, allocations: 3.062 kB / 2.393 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001008/5.147, allocations: 30.09 kB / 2.393 GB, free: 229.9 MB / 0.6823 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.002451/5.149, allocations: 1.121 MB / 2.394 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/5.149, allocations: 11.12 kB / 2.394 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/5.151, allocations: 212.6 kB / 2.395 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/5.152, allocations: 0.6345 MB / 2.395 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/5.152, allocations: 31.12 kB / 2.395 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.323e-05/5.152, allocations: 50.88 kB / 2.395 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001354/5.153, allocations: 1.021 MB / 2.396 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/5.154, allocations: 0.787 MB / 2.397 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/5.154, allocations: 5.906 kB / 2.397 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.998e-05/5.155, allocations: 3.656 kB / 2.397 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/5.155, allocations: 27.22 kB / 2.397 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/5.158, allocations: 2.409 MB / 2.4 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000869/5.159, allocations: 0.7444 MB / 2.4 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/5.159, allocations: 237.3 kB / 2.401 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005637/5.16, allocations: 474.9 kB / 2.401 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000522/5.16, allocations: 393.3 kB / 2.401 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.995e-06/5.16, allocations: 0 / 2.401 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.004371/5.165, allocations: 1.198 MB / 2.403 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/5.165, allocations: 243.8 kB / 2.403 GB, free: 227 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006864/5.166, allocations: 498.9 kB / 2.403 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.86e-05/5.166, allocations: 31.73 kB / 2.403 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/5.166, allocations: 406.6 kB / 2.404 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/5.166, allocations: 231.7 kB / 2.404 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/5.166, allocations: 0 / 2.404 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/5.166, allocations: 374.2 kB / 2.404 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/5.167, allocations: 189.5 kB / 2.404 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/5.167, allocations: 296.8 kB / 2.405 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/5.17, allocations: 0.7732 MB / 2.405 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/5.17, allocations: 0 / 2.405 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004119/5.174, allocations: 1.176 MB / 2.407 GB, free: 226 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/5.174, allocations: 6.406 kB / 2.407 GB, free: 226 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/5.174, allocations: 3.953 kB / 2.407 GB, free: 226 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/5.175, allocations: 87.33 kB / 2.407 GB, free: 226 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/5.176, allocations: 142.3 kB / 2.407 GB, free: 226 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/5.177, allocations: 1.447 MB / 2.408 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000692/5.178, allocations: 62.67 kB / 2.408 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/5.178, allocations: 29.2 kB / 2.408 GB, free: 224.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.000184/5.178, allocations: 116.5 kB / 2.408 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004196/5.182, allocations: 1.194 MB / 2.41 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/5.183, allocations: 77.19 kB / 2.41 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005382/5.188, allocations: 1.44 MB / 2.411 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/5.188, allocations: 9.062 kB / 2.411 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/5.188, allocations: 0 / 2.411 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/5.188, allocations: 7.234 kB / 2.411 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006348/5.194, allocations: 2.268 MB / 2.413 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/5.195, allocations: 0 / 2.413 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006187/5.195, allocations: 148.5 kB / 2.413 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006796/5.196, allocations: 82.94 kB / 2.414 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/5.196, allocations: 14.7 kB / 2.414 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/5.198, allocations: 1.473 MB / 2.415 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/5.198, allocations: 0 / 2.415 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004599/5.203, allocations: 1.365 MB / 2.416 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000587/5.203, allocations: 276.3 kB / 2.417 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/5.203, allocations: 3.625 kB / 2.417 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006868/5.204, allocations: 54.02 kB / 2.417 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/5.204, allocations: 63.52 kB / 2.417 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/5.204, allocations: 25.69 kB / 2.417 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005214/5.205, allocations: 401.6 kB / 2.417 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/5.205, allocations: 4 kB / 2.417 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001297/5.206, allocations: 362.4 kB / 2.417 GB, free: 222.2 MB / 0.6823 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) * 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.007784/5.214, allocations: 2.905 MB / 2.42 GB, free: 221.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001348/5.215, allocations: 0.6424 MB / 2.421 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/5.215, allocations: 0 / 2.421 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007814/5.216, allocations: 451.8 kB / 2.421 GB, free: 221 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/5.218, allocations: 217.9 kB / 2.422 GB, free: 221 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/5.222, allocations: 1.535 MB / 2.423 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/5.222, allocations: 1.037 MB / 2.424 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009582/5.223, allocations: 262.4 kB / 2.424 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005373/5.224, allocations: 377.8 kB / 2.425 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/5.224, allocations: 3.125 kB / 2.425 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05718/5.281, allocations: 23.42 MB / 2.448 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/5.281, allocations: 192.9 kB / 2.448 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/7.955, allocations: 0 / 2.448 GB, free: 201.1 MB / 0.6823 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)