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/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_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_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.001351/0.001351, allocations: 172.5 kB / 7.646 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.7763/0.7763, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.542/1.542, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.000899/0.0008991, allocations: 97.42 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.794e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4722, allocations: 82.3 MB / 0.6339 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.957/4.43, allocations: 1.694 GB / 2.328 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/4.43, allocations: 91.61 kB / 2.328 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1403/4.57, allocations: 67.23 MB / 2.393 GB, free: 22.69 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.026e-06/4.57, allocations: 4 kB / 2.393 GB, free: 22.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.665e-05/4.57, allocations: 23.94 kB / 2.393 GB, free: 22.66 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.002071/4.573, allocations: 1.13 MB / 2.394 GB, free: 21.47 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/4.573, allocations: 8.031 kB / 2.395 GB, free: 21.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/4.574, allocations: 218.4 kB / 2.395 GB, free: 21.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/4.575, allocations: 0.6191 MB / 2.395 GB, free: 20.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/4.575, allocations: 35.98 kB / 2.395 GB, free: 20.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/4.575, allocations: 48 kB / 2.395 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001559/4.577, allocations: 1.027 MB / 2.396 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/4.578, allocations: 0.7897 MB / 2.397 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/4.578, allocations: 0 / 2.397 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.061e-05/4.578, allocations: 0 / 2.397 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/4.578, allocations: 35.95 kB / 2.397 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/4.582, allocations: 2.403 MB / 2.4 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008718/4.583, allocations: 0.7341 MB / 2.4 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/4.584, allocations: 247.1 kB / 2.401 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005294/4.584, allocations: 474.3 kB / 2.401 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004964/4.585, allocations: 395.6 kB / 2.401 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.555e-06/4.585, allocations: 3.938 kB / 2.401 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.004171/4.589, allocations: 1.191 MB / 2.403 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/4.589, allocations: 244.2 kB / 2.403 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/4.59, allocations: 0.4905 MB / 2.403 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.272e-05/4.59, allocations: 29.64 kB / 2.403 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/4.59, allocations: 408 kB / 2.404 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/4.59, allocations: 232.4 kB / 2.404 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/4.59, allocations: 4 kB / 2.404 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/4.59, allocations: 374.8 kB / 2.404 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/4.591, allocations: 193.5 kB / 2.404 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/4.591, allocations: 283.5 kB / 2.405 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/4.594, allocations: 0.7734 MB / 2.405 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/4.594, allocations: 0 / 2.405 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00419/4.598, allocations: 1.183 MB / 2.407 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/4.598, allocations: 9.875 kB / 2.407 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/4.598, allocations: 0 / 2.407 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/4.599, allocations: 84.83 kB / 2.407 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/4.6, allocations: 139.8 kB / 2.407 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/4.601, allocations: 1.457 MB / 2.408 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000652/4.602, allocations: 55.59 kB / 2.408 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/4.602, allocations: 32.03 kB / 2.408 GB, free: 6.777 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.0001796/4.602, allocations: 128.8 kB / 2.408 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004197/4.606, allocations: 1.183 MB / 2.41 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/4.607, allocations: 67.16 kB / 2.41 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004512/4.611, allocations: 1.441 MB / 2.411 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/4.611, allocations: 8 kB / 2.411 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/4.611, allocations: 0 / 2.411 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/4.611, allocations: 3.984 kB / 2.411 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00543/4.617, allocations: 2.264 MB / 2.413 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/4.617, allocations: 0 / 2.413 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005687/4.617, allocations: 151.7 kB / 2.413 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000478/4.618, allocations: 84.77 kB / 2.414 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/4.618, allocations: 15.98 kB / 2.414 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3741/4.992, allocations: 1.475 MB / 2.415 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/4.992, allocations: 0 / 2.415 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00559/4.998, allocations: 1.359 MB / 2.416 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005788/4.998, allocations: 280.5 kB / 2.417 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/4.998, allocations: 2.562 kB / 2.417 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006078/4.999, allocations: 52.86 kB / 2.417 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/4.999, allocations: 64.34 kB / 2.417 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/4.999, allocations: 31.97 kB / 2.417 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007262/5, allocations: 403 kB / 2.417 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/5, allocations: 0 / 2.417 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001631/5.002, allocations: 356.3 kB / 2.417 GB, free: 226.4 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.007519/5.009, allocations: 2.905 MB / 2.42 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001556/5.011, allocations: 0.6368 MB / 2.421 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/5.011, allocations: 3.938 kB / 2.421 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008054/5.012, allocations: 454.8 kB / 2.421 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/5.013, allocations: 221.3 kB / 2.422 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/5.018, allocations: 1.526 MB / 2.423 GB, free: 225 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/5.019, allocations: 1.046 MB / 2.424 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001018/5.02, allocations: 252.5 kB / 2.424 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/5.02, allocations: 371.7 kB / 2.425 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/5.02, allocations: 0 / 2.425 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04879/5.069, allocations: 23.44 MB / 2.448 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/5.069, allocations: 197.6 kB / 2.448 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/7.747, allocations: 0 / 2.448 GB, free: 222.5 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)