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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 196.4 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7175/0.7175, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 58.94 kB / 0.5012 GB, free: 9.109 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1424, allocations: 80.21 MB / 0.5795 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005578/0.148, allocations: 4.2 MB / 0.5836 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4254/0.5735, allocations: 148.2 MB / 0.7283 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007072/0.5742, allocations: 14.91 kB / 0.7283 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.5748, allocations: 139.4 kB / 0.7284 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.5761, allocations: 412.1 kB / 0.7288 GB, free: 3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.5778, allocations: 0.6989 MB / 0.7295 GB, free: 2.625 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.579, allocations: 1.128 MB / 0.7306 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008583/0.5798, allocations: 0.6169 MB / 0.7312 GB, free: 1.742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005418/0.5804, allocations: 395.1 kB / 0.7316 GB, free: 1.562 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.5809, allocations: 424.8 kB / 0.732 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.581, allocations: 52.25 kB / 0.7321 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008482/0.5818, allocations: 398.8 kB / 0.7324 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.5821, allocations: 223.8 kB / 0.7327 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.5825, allocations: 466.4 kB / 0.7331 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.5839, allocations: 1.418 MB / 0.7345 GB, free: 252 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.584, allocations: 0 / 0.7345 GB, free: 252 kB / 0.545 GB Notification: Performance of FrontEnd: time 7.81e-07/0.584, allocations: 0 / 0.7345 GB, free: 252 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.584, allocations: 1.219 kB / 0.7345 GB, free: 252 kB / 0.545 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.002323/0.5863, allocations: 1.349 MB / 0.7358 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.5864, allocations: 13.66 kB / 0.7358 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.5865, allocations: 132.8 kB / 0.7359 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.5877, allocations: 218.6 kB / 0.7361 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.5887, allocations: 0.7272 MB / 0.7369 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.5888, allocations: 58.25 kB / 0.7369 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.392e-05/0.5889, allocations: 79.62 kB / 0.737 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.5904, allocations: 0.9156 MB / 0.7379 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.5904, allocations: 3.125 kB / 0.7379 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.354e-05/0.5905, allocations: 39.83 kB / 0.7379 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.5905, allocations: 21.5 kB / 0.7379 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.5923, allocations: 1.115 MB / 0.739 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.5961, allocations: 2.688 MB / 0.7417 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.5977, allocations: 0.8518 MB / 0.7425 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/0.5981, allocations: 292 kB / 0.7428 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.187e-05/0.5982, allocations: 25.84 kB / 0.7428 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008307/0.5991, allocations: 431.1 kB / 0.7432 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.184e-06/0.5991, allocations: 0 / 0.7432 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.002979/0.6021, allocations: 1.086 MB / 0.7443 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.6022, allocations: 192.6 kB / 0.7445 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007471/0.6029, allocations: 0.595 MB / 0.745 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.603, allocations: 38.95 kB / 0.7451 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.6033, allocations: 395.1 kB / 0.7454 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.6035, allocations: 244.8 kB / 0.7457 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.6037, allocations: 136.6 kB / 0.7458 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.604, allocations: 384.7 kB / 0.7462 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.6044, allocations: 217.8 kB / 0.7464 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.6049, allocations: 349.2 kB / 0.7467 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009999/0.606, allocations: 0.5575 MB / 0.7473 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.606, allocations: 0 / 0.7473 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001867/0.6078, allocations: 0.7509 MB / 0.748 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.6079, allocations: 5.719 kB / 0.748 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.6079, allocations: 0 / 0.748 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/0.6085, allocations: 80.84 kB / 0.7481 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.6092, allocations: 155.7 kB / 0.7482 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.6114, allocations: 1.505 MB / 0.7497 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.6121, allocations: 83.39 kB / 0.7498 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.6122, allocations: 35.92 kB / 0.7498 GB, free: 4.238 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004119/0.6126, allocations: 247.2 kB / 0.75 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.6128, allocations: 79.19 kB / 0.7501 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.615, allocations: 0.9949 MB / 0.7511 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.615, allocations: 8 kB / 0.7511 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.615, allocations: 0 / 0.7511 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.6151, allocations: 7.984 kB / 0.7511 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/0.6185, allocations: 1.915 MB / 0.753 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.6186, allocations: 3.938 kB / 0.753 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.6192, allocations: 143.8 kB / 0.7531 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005247/0.6197, allocations: 80.78 kB / 0.7532 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/0.6198, allocations: 19.98 kB / 0.7532 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.6218, allocations: 1.56 MB / 0.7547 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6218, allocations: 0 / 0.7547 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.6239, allocations: 0.9141 MB / 0.7556 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.6243, allocations: 259.8 kB / 0.7559 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.6244, allocations: 16 kB / 0.7559 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/0.625, allocations: 62.83 kB / 0.756 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.6251, allocations: 56.92 kB / 0.756 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-05/0.6252, allocations: 39.44 kB / 0.756 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006046/0.6258, allocations: 427.1 kB / 0.7565 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.6258, allocations: 3.938 kB / 0.7565 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001033/0.6269, allocations: 299.2 kB / 0.7567 GB, free: 12.88 MB / 0.5762 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003388/0.6303, allocations: 1.946 MB / 0.7586 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.6318, allocations: 0.7352 MB / 0.7594 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6318, allocations: 384 / 0.7594 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008544/0.6327, allocations: 492.3 kB / 0.7598 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.634, allocations: 270.1 kB / 0.7601 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.6457, allocations: 6.525 MB / 0.7665 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.6462, allocations: 1.011 MB / 0.7674 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008802/0.6471, allocations: 261.8 kB / 0.7677 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.6476, allocations: 359.3 kB / 0.768 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.6476, allocations: 0 / 0.768 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2573/0.9049, allocations: 19.54 MB / 0.7871 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003693/0.9053, allocations: 276.8 kB / 0.7874 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.733, allocations: 3.281 kB / 0.7874 GB, free: 13.79 MB / 0.6075 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/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)