Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.001065/0.001065, 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.8416/0.8416, allocations: 133.6 MB / 141.6 MB, free: 2.926 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.599/1.599, allocations: 221.5 MB / 395.5 MB, free: 10.74 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.00105/0.00105, allocations: 97.59 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.795e-05, allocations: 4 kB / 0.5535 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5728/0.5728, allocations: 82.31 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.223/4.796, allocations: 1.693 GB / 2.327 GB, free: 63.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/4.796, allocations: 83.95 kB / 2.327 GB, free: 62.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1252/4.922, allocations: 57.41 MB / 2.383 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.554e-06/4.922, allocations: 0 / 2.383 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001159/4.922, allocations: 24 kB / 2.383 GB, free: 5.242 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003047/4.925, allocations: 1.09 MB / 2.384 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/4.925, allocations: 8.031 kB / 2.384 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/4.926, allocations: 242.5 kB / 2.384 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/4.928, allocations: 0.6269 MB / 2.385 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/4.928, allocations: 27.94 kB / 2.385 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-05/4.928, allocations: 48 kB / 2.385 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001272/4.929, allocations: 0.9992 MB / 2.386 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/4.93, allocations: 0.7572 MB / 2.387 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/4.93, allocations: 0 / 2.387 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/4.93, allocations: 4 kB / 2.387 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/4.93, allocations: 23.95 kB / 2.387 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5265/5.457, allocations: 2.528 MB / 2.389 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/5.458, allocations: 0.761 MB / 2.39 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/5.459, allocations: 244.6 kB / 2.39 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/5.459, allocations: 31.55 kB / 2.39 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007636/5.46, allocations: 389.3 kB / 2.39 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=74): time 3.216e-06/5.46, allocations: 1 kB / 2.39 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74): time 0.001907/5.461, allocations: 0.6513 MB / 2.391 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/5.462, allocations: 241.4 kB / 2.391 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009089/5.462, allocations: 0.5016 MB / 2.392 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.399e-05/5.463, allocations: 27.05 kB / 2.392 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000356/5.463, allocations: 392.5 kB / 2.392 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/5.463, allocations: 236.7 kB / 2.392 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/5.463, allocations: 0 / 2.392 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001425/5.463, allocations: 379.7 kB / 2.393 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/5.464, allocations: 188.5 kB / 2.393 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/5.464, allocations: 311.1 kB / 2.393 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/5.465, allocations: 242.6 kB / 2.393 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/5.465, allocations: 0.8438 kB / 2.393 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001738/5.466, allocations: 0.6525 MB / 2.394 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/5.466, allocations: 8.281 kB / 2.394 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/5.466, allocations: 2.531 kB / 2.394 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/5.467, allocations: 82.72 kB / 2.394 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/5.468, allocations: 145.1 kB / 2.394 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/5.47, allocations: 1.462 MB / 2.396 GB, free: 227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/5.47, allocations: 66.06 kB / 2.396 GB, free: 227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/5.47, allocations: 30.52 kB / 2.396 GB, free: 227 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (79): * Single equations (assignments): 78 * 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.000183/5.471, allocations: 130.1 kB / 2.396 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001747/5.472, allocations: 0.6478 MB / 2.397 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/5.472, allocations: 68.98 kB / 2.397 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/5.475, allocations: 0.9014 MB / 2.398 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/5.475, allocations: 9.547 kB / 2.398 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/5.475, allocations: 0.5 kB / 2.398 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/5.475, allocations: 4.484 kB / 2.398 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/5.479, allocations: 1.77 MB / 2.399 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/5.479, allocations: 1.469 kB / 2.399 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/5.479, allocations: 147.8 kB / 2.399 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005185/5.48, allocations: 89.98 kB / 2.4 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/5.48, allocations: 14.95 kB / 2.4 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/5.481, allocations: 1.476 MB / 2.401 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/5.481, allocations: 0 / 2.401 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/5.483, allocations: 0.8199 MB / 2.402 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/5.483, allocations: 276.3 kB / 2.402 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/5.484, allocations: 9.297 kB / 2.402 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/5.484, allocations: 53.31 kB / 2.402 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/5.484, allocations: 68.27 kB / 2.402 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/5.484, allocations: 33.5 kB / 2.402 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005734/5.485, allocations: 404 kB / 2.403 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/5.485, allocations: 0 / 2.403 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001267/5.486, allocations: 328.3 kB / 2.403 GB, free: 224.6 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 (86): * Single equations (assignments): 83 * 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.003597/5.49, allocations: 2.35 MB / 2.405 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001225/5.491, allocations: 0.6451 MB / 2.406 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/5.491, allocations: 2.094 kB / 2.406 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006495/5.492, allocations: 449 kB / 2.406 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/5.493, allocations: 231 kB / 2.407 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/5.497, allocations: 1.482 MB / 2.408 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/5.498, allocations: 1.02 MB / 2.409 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008778/5.499, allocations: 259.5 kB / 2.409 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/5.499, allocations: 357.8 kB / 2.41 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.114e-06/5.499, allocations: 0 / 2.41 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05488/5.554, allocations: 23.55 MB / 2.433 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/5.554, allocations: 179.5 kB / 2.433 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/8.497, allocations: 3.938 kB / 2.433 GB, free: 220.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)