Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_dev_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.001385/0.001386, allocations: 173.2 kB / 7.647 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.7888/0.7888, 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.614/1.614, 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.0009716/0.0009715, allocations: 105.5 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.988e-05, allocations: 0 / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5427/0.5427, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.234/4.777, allocations: 1.693 GB / 2.327 GB, free: 43.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/4.777, allocations: 86.7 kB / 2.327 GB, free: 43.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4913/5.268, allocations: 57.41 MB / 2.383 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.873e-06/5.268, allocations: 0.5625 kB / 2.383 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.326e-05/5.268, allocations: 23.53 kB / 2.383 GB, free: 234.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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001878/5.27, allocations: 1.088 MB / 2.384 GB, free: 234 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/5.27, allocations: 12.81 kB / 2.384 GB, free: 234 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/5.272, allocations: 235.9 kB / 2.384 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/5.273, allocations: 0.6251 MB / 2.385 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/5.273, allocations: 27.19 kB / 2.385 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.69e-05/5.273, allocations: 46.16 kB / 2.385 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001445/5.274, allocations: 1.006 MB / 2.386 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/5.276, allocations: 0.7565 MB / 2.387 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/5.276, allocations: 1.031 kB / 2.387 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/5.276, allocations: 2.094 kB / 2.387 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/5.276, allocations: 22 kB / 2.387 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003627/5.279, allocations: 2.544 MB / 2.389 GB, free: 232.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/5.28, allocations: 0.7619 MB / 2.39 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/5.281, allocations: 241 kB / 2.39 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.99e-05/5.281, allocations: 39.98 kB / 2.39 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005199/5.281, allocations: 388.9 kB / 2.39 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=74): time 2.595e-06/5.281, allocations: 2.562 kB / 2.39 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74): time 0.001519/5.283, allocations: 0.6485 MB / 2.391 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/5.283, allocations: 243.3 kB / 2.391 GB, free: 232 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006275/5.284, allocations: 0.5019 MB / 2.392 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.497e-05/5.284, allocations: 25.7 kB / 2.392 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/5.284, allocations: 395.3 kB / 2.392 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/5.284, allocations: 232.4 kB / 2.392 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/5.284, allocations: 0 / 2.392 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001341/5.284, allocations: 378 kB / 2.393 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/5.285, allocations: 190 kB / 2.393 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/5.285, allocations: 309 kB / 2.393 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/5.285, allocations: 243.2 kB / 2.393 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/5.285, allocations: 0 / 2.393 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001255/5.287, allocations: 0.6635 MB / 2.394 GB, free: 231 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/5.287, allocations: 5.656 kB / 2.394 GB, free: 231 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/5.287, allocations: 3.75 kB / 2.394 GB, free: 231 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/5.287, allocations: 78.44 kB / 2.394 GB, free: 231 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/5.288, allocations: 153.2 kB / 2.394 GB, free: 231 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/5.289, allocations: 1.458 MB / 2.396 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/5.29, allocations: 64.75 kB / 2.396 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/5.29, allocations: 32.28 kB / 2.396 GB, free: 229.7 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.0001401/5.29, allocations: 115.9 kB / 2.396 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00125/5.292, allocations: 0.6539 MB / 2.397 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/5.292, allocations: 68.59 kB / 2.397 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/5.293, allocations: 0.9003 MB / 2.398 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/5.293, allocations: 15.3 kB / 2.398 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/5.293, allocations: 0 / 2.398 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/5.293, allocations: 6.562 kB / 2.398 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/5.296, allocations: 1.762 MB / 2.399 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/5.296, allocations: 0 / 2.399 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/5.297, allocations: 146.2 kB / 2.399 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/5.297, allocations: 84.33 kB / 2.4 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/5.297, allocations: 14.19 kB / 2.4 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/5.299, allocations: 1.487 MB / 2.401 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/5.299, allocations: 0 / 2.401 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/5.3, allocations: 0.8236 MB / 2.402 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/5.3, allocations: 276 kB / 2.402 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/5.3, allocations: 3.75 kB / 2.402 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/5.301, allocations: 47.77 kB / 2.402 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/5.301, allocations: 59.84 kB / 2.402 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/5.301, allocations: 33.33 kB / 2.402 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000422/5.301, allocations: 406.9 kB / 2.403 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/5.301, allocations: 0 / 2.403 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00107/5.303, allocations: 334.6 kB / 2.403 GB, free: 227.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 (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.003115/5.306, allocations: 2.336 MB / 2.405 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001113/5.307, allocations: 0.6543 MB / 2.406 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/5.307, allocations: 3.156 kB / 2.406 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005894/5.307, allocations: 446.9 kB / 2.406 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/5.309, allocations: 245.4 kB / 2.407 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/5.312, allocations: 1.477 MB / 2.408 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/5.313, allocations: 1.026 MB / 2.409 GB, free: 225 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007827/5.313, allocations: 247.4 kB / 2.409 GB, free: 225 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/5.314, allocations: 353.5 kB / 2.41 GB, free: 225 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/5.314, allocations: 0 / 2.41 GB, free: 225 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05104/5.365, allocations: 23.55 MB / 2.433 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/5.365, allocations: 188.5 kB / 2.433 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/8.228, allocations: 0 / 2.433 GB, free: 216.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)