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.001579/0.001579, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7695/0.7695, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.856/1.856, allocations: 221.3 MB / 400.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001001, allocations: 93.94 kB / 483.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.715e-05, allocations: 1.344 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2122, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.749/4.961, allocations: 1.693 GB / 2.334 GB, free: 242 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/4.961, allocations: 83.95 kB / 2.334 GB, free: 241.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1343/5.096, allocations: 58.26 MB / 2.391 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.575e-06/5.096, allocations: 0 / 2.391 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001081/5.096, allocations: 24 kB / 2.391 GB, free: 183.4 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.002404/5.098, allocations: 1.09 MB / 2.392 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/5.098, allocations: 12.03 kB / 2.392 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002884/5.098, allocations: 131.1 kB / 2.392 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/5.1, allocations: 242.5 kB / 2.392 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/5.101, allocations: 0.6191 MB / 2.393 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/5.101, allocations: 62 kB / 2.393 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/5.101, allocations: 80 kB / 2.393 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/5.103, allocations: 0.8703 MB / 2.394 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/5.103, allocations: 0 / 2.394 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.463e-05/5.103, allocations: 39.94 kB / 2.394 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/5.103, allocations: 31.95 kB / 2.394 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/5.105, allocations: 1.046 MB / 2.395 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004198/5.109, allocations: 2.711 MB / 2.398 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/5.11, allocations: 0.8044 MB / 2.398 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/5.11, allocations: 275.2 kB / 2.399 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.933e-05/5.111, allocations: 24.83 kB / 2.399 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005846/5.111, allocations: 417.3 kB / 2.399 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=74): time 4.499e-06/5.111, allocations: 0 / 2.399 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74): time 0.001599/5.113, allocations: 0.6914 MB / 2.4 GB, free: 174 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/5.113, allocations: 244.1 kB / 2.4 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007866/5.114, allocations: 0.5816 MB / 2.401 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.884e-05/5.114, allocations: 37.7 kB / 2.401 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/5.114, allocations: 388.2 kB / 2.401 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/5.114, allocations: 240.4 kB / 2.401 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/5.114, allocations: 16 kB / 2.401 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001113/5.114, allocations: 386.7 kB / 2.402 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/5.115, allocations: 201.5 kB / 2.402 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/5.115, allocations: 331.7 kB / 2.402 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/5.115, allocations: 254 kB / 2.402 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/5.115, allocations: 0 / 2.402 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001396/5.117, allocations: 0.7032 MB / 2.403 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/5.117, allocations: 7.938 kB / 2.403 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/5.117, allocations: 0 / 2.403 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005756/5.117, allocations: 88.92 kB / 2.403 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/5.118, allocations: 147.8 kB / 2.403 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/5.12, allocations: 1.512 MB / 2.405 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/5.121, allocations: 95.38 kB / 2.405 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/5.121, allocations: 27.98 kB / 2.405 GB, free: 168.5 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.0002037/5.121, allocations: 146.6 kB / 2.405 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/5.121, allocations: 78.97 kB / 2.405 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/5.123, allocations: 0.9701 MB / 2.406 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/5.123, allocations: 8 kB / 2.406 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/5.123, allocations: 0 / 2.406 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/5.123, allocations: 3.984 kB / 2.406 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/5.126, allocations: 1.924 MB / 2.408 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/5.126, allocations: 0 / 2.408 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005633/5.127, allocations: 155.8 kB / 2.408 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/5.127, allocations: 88.7 kB / 2.408 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-05/5.127, allocations: 19.98 kB / 2.408 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/5.129, allocations: 1.556 MB / 2.41 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/5.129, allocations: 0 / 2.41 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/5.13, allocations: 0.8689 MB / 2.411 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/5.131, allocations: 287.7 kB / 2.411 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/5.131, allocations: 23.95 kB / 2.411 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006125/5.132, allocations: 59.95 kB / 2.411 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/5.132, allocations: 64.69 kB / 2.411 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/5.132, allocations: 31.98 kB / 2.411 GB, free: 162 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005922/5.133, allocations: 475.1 kB / 2.411 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/5.133, allocations: 0 / 2.411 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001229/5.134, allocations: 367.1 kB / 2.412 GB, free: 161.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.003549/5.137, allocations: 2.33 MB / 2.414 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001213/5.139, allocations: 0.6865 MB / 2.415 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/5.139, allocations: 4 kB / 2.415 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006738/5.139, allocations: 474.9 kB / 2.415 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/5.14, allocations: 263.3 kB / 2.415 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/5.144, allocations: 1.564 MB / 2.417 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/5.145, allocations: 1.019 MB / 2.418 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008738/5.146, allocations: 258.2 kB / 2.418 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004963/5.146, allocations: 355.3 kB / 2.419 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.153e-06/5.146, allocations: 0 / 2.419 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0584/5.205, allocations: 31.4 MB / 2.449 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/5.205, allocations: 225.4 kB / 2.449 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.354/8.559, allocations: 0 / 2.449 GB, free: 122.8 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)