Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.0009791/0.0009789, 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.7585/0.7585, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.462/1.462, allocations: 221.5 MB / 395.4 MB, free: 10.83 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.0009105/0.0009103, allocations: 108 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.578e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4711, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.542/5.013, allocations: 1.695 GB / 2.329 GB, free: 42.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004164/5.014, allocations: 95.31 kB / 2.329 GB, free: 42.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6198/5.634, allocations: 68.91 MB / 2.396 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.443e-06/5.634, allocations: 2.438 kB / 2.396 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001314/5.634, allocations: 30.83 kB / 2.396 GB, free: 233.6 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.003482/5.637, allocations: 1.25 MB / 2.398 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/5.637, allocations: 11.31 kB / 2.398 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/5.642, allocations: 0.6887 MB / 2.398 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/5.644, allocations: 0.6801 MB / 2.399 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.77e-05/5.644, allocations: 30.75 kB / 2.399 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/5.644, allocations: 62.41 kB / 2.399 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002765/5.647, allocations: 1.419 MB / 2.401 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/5.649, allocations: 1.024 MB / 2.402 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/5.649, allocations: 0 / 2.402 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/5.65, allocations: 3.938 kB / 2.402 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/5.65, allocations: 26 kB / 2.402 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006993/5.657, allocations: 2.941 MB / 2.404 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/5.658, allocations: 1.004 MB / 2.405 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006149/5.659, allocations: 426.9 kB / 2.406 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006694/5.66, allocations: 481.5 kB / 2.406 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009627/5.661, allocations: 0.5781 MB / 2.407 GB, free: 231 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 5.07e-06/5.661, allocations: 2.25 kB / 2.407 GB, free: 231 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.004882/5.666, allocations: 1.466 MB / 2.408 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/5.666, allocations: 247.9 kB / 2.409 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008457/5.666, allocations: 0.495 MB / 2.409 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/5.667, allocations: 30.83 kB / 2.409 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/5.667, allocations: 424.2 kB / 2.409 GB, free: 230.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/5.667, allocations: 315.7 kB / 2.41 GB, free: 230 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/5.667, allocations: 0 / 2.41 GB, free: 230 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001441/5.668, allocations: 389.8 kB / 2.41 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/5.668, allocations: 312.9 kB / 2.41 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/5.669, allocations: 441.2 kB / 2.411 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003118/5.672, allocations: 0.8845 MB / 2.412 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/5.672, allocations: 3.938 kB / 2.412 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004667/5.676, allocations: 1.47 MB / 2.413 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/5.676, allocations: 3.312 kB / 2.413 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/5.676, allocations: 0 / 2.413 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/5.677, allocations: 86.98 kB / 2.413 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/5.678, allocations: 245 kB / 2.413 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/5.68, allocations: 1.457 MB / 2.415 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/5.681, allocations: 125.7 kB / 2.415 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/5.682, allocations: 48.36 kB / 2.415 GB, free: 228.2 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0002807/5.682, allocations: 123.4 kB / 2.415 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004719/5.687, allocations: 1.471 MB / 2.417 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/5.687, allocations: 85.33 kB / 2.417 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/5.692, allocations: 1.797 MB / 2.418 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/5.692, allocations: 10.75 kB / 2.418 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/5.692, allocations: 0 / 2.418 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/5.692, allocations: 6.984 kB / 2.418 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006895/5.699, allocations: 2.817 MB / 2.421 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/5.699, allocations: 0 / 2.421 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/5.701, allocations: 249.4 kB / 2.421 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005081/5.701, allocations: 90.64 kB / 2.422 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/5.701, allocations: 22.53 kB / 2.422 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/5.703, allocations: 1.477 MB / 2.423 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/5.703, allocations: 0 / 2.423 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/5.708, allocations: 1.664 MB / 2.425 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007431/5.709, allocations: 321.9 kB / 2.425 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003179/5.709, allocations: 0 / 2.425 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/5.71, allocations: 111.6 kB / 2.425 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/5.711, allocations: 76.27 kB / 2.425 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-05/5.711, allocations: 39.17 kB / 2.425 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006767/5.711, allocations: 411.7 kB / 2.426 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/5.711, allocations: 0 / 2.426 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001783/5.713, allocations: 397.9 kB / 2.426 GB, free: 223.5 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 (113): * Single equations (assignments): 110 * 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.007524/5.721, allocations: 3.208 MB / 2.429 GB, free: 221.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001762/5.722, allocations: 0.984 MB / 2.43 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/5.722, allocations: 0 / 2.43 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009429/5.723, allocations: 0.6218 MB / 2.431 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/5.725, allocations: 220 kB / 2.431 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/5.73, allocations: 1.781 MB / 2.433 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/5.731, allocations: 1.077 MB / 2.434 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001713/5.732, allocations: 323.5 kB / 2.434 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007841/5.733, allocations: 415.2 kB / 2.434 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.513e-06/5.733, allocations: 0 / 2.434 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06415/5.797, allocations: 26.46 MB / 2.46 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/5.798, allocations: 219.9 kB / 2.46 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.019/8.817, allocations: 0 / 2.46 GB, free: 189.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)