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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009472/0.0009472, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.216/1.216, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.816/0.816, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 60.09 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1234, allocations: 80.93 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00507/0.1285, allocations: 4.189 MB / 0.5886 GB, free: 232 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3554/0.4839, allocations: 150.5 MB / 0.7355 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006796/0.4847, allocations: 15.06 kB / 0.7355 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.4853, allocations: 173 kB / 0.7357 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.4869, allocations: 487.6 kB / 0.7362 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.4888, allocations: 0.8039 MB / 0.7369 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001346/0.4901, allocations: 1.201 MB / 0.7381 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009193/0.4911, allocations: 0.634 MB / 0.7387 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007053/0.4918, allocations: 447.2 kB / 0.7392 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006482/0.4924, allocations: 461.8 kB / 0.7396 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.4927, allocations: 102.7 kB / 0.7397 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008716/0.4935, allocations: 444.7 kB / 0.7401 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.4938, allocations: 277.8 kB / 0.7404 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005616/0.4944, allocations: 0.5087 MB / 0.7409 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.4961, allocations: 1.453 MB / 0.7423 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4961, allocations: 0 / 0.7423 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4961, allocations: 1.281 kB / 0.7423 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.46e-05/0.4961, allocations: 4 kB / 0.7423 GB, free: 8.27 MB / 0.5606 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.002522/0.4987, allocations: 1.357 MB / 0.7436 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4987, allocations: 8.25 kB / 0.7436 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.4989, allocations: 132.2 kB / 0.7438 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.5001, allocations: 223 kB / 0.744 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009596/0.501, allocations: 0.7191 MB / 0.7447 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.5011, allocations: 62.03 kB / 0.7447 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.935e-05/0.5012, allocations: 75.78 kB / 0.7448 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.5026, allocations: 0.9231 MB / 0.7457 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.5027, allocations: 2.25 kB / 0.7457 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.5028, allocations: 43.75 kB / 0.7458 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.5028, allocations: 20.88 kB / 0.7458 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.5045, allocations: 1.108 MB / 0.7469 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/0.5083, allocations: 2.687 MB / 0.7495 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.5099, allocations: 0.8652 MB / 0.7503 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.5104, allocations: 283.6 kB / 0.7506 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.061e-05/0.5105, allocations: 28.62 kB / 0.7506 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006841/0.5112, allocations: 431.3 kB / 0.751 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.034e-06/0.5112, allocations: 0 / 0.751 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.002826/0.514, allocations: 1.088 MB / 0.7521 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.5141, allocations: 188.6 kB / 0.7523 GB, free: 468 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.5148, allocations: 0.5901 MB / 0.7529 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/0.5148, allocations: 41.7 kB / 0.7529 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.5151, allocations: 388.1 kB / 0.7533 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.5153, allocations: 244.5 kB / 0.7535 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.5155, allocations: 142.2 kB / 0.7536 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5156, allocations: 378.7 kB / 0.754 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.5161, allocations: 221.2 kB / 0.7542 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.5166, allocations: 345.3 kB / 0.7545 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009378/0.5175, allocations: 0.5536 MB / 0.7551 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5176, allocations: 4 kB / 0.7551 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001646/0.5192, allocations: 0.743 MB / 0.7558 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.5192, allocations: 7.938 kB / 0.7558 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5192, allocations: 4 kB / 0.7558 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/0.5198, allocations: 84.95 kB / 0.7559 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/0.5204, allocations: 147.7 kB / 0.756 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.5222, allocations: 1.632 MB / 0.7576 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/0.5228, allocations: 75.34 kB / 0.7577 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.5228, allocations: 31.98 kB / 0.7577 GB, free: 10.61 MB / 0.5762 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.0003024/0.5232, allocations: 253.6 kB / 0.758 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.5233, allocations: 78.19 kB / 0.7581 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.5254, allocations: 0.9896 MB / 0.759 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5254, allocations: 8 kB / 0.759 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.5254, allocations: 7.938 kB / 0.759 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5254, allocations: 3.984 kB / 0.759 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.5283, allocations: 1.915 MB / 0.7609 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5284, allocations: 0.875 kB / 0.7609 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.5289, allocations: 143.8 kB / 0.761 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004054/0.5293, allocations: 72.78 kB / 0.7611 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.5294, allocations: 23.98 kB / 0.7611 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.5311, allocations: 1.666 MB / 0.7628 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5311, allocations: 0 / 0.7628 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.5327, allocations: 0.9102 MB / 0.7637 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.533, allocations: 256.6 kB / 0.7639 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.5332, allocations: 20 kB / 0.7639 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.5337, allocations: 55.94 kB / 0.764 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.5338, allocations: 56.92 kB / 0.764 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.5339, allocations: 27.98 kB / 0.7641 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000452/0.5343, allocations: 439 kB / 0.7645 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5343, allocations: 0 / 0.7645 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000708/0.5351, allocations: 295.2 kB / 0.7648 GB, free: 3.156 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.003002/0.5381, allocations: 1.958 MB / 0.7667 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001868/0.5399, allocations: 0.9269 MB / 0.7676 GB, free: 464 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.54, allocations: 4 kB / 0.7676 GB, free: 460 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007924/0.5408, allocations: 492.2 kB / 0.768 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.5419, allocations: 319.4 kB / 0.7684 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009122/0.551, allocations: 6.15 MB / 0.7744 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.5515, allocations: 1.011 MB / 0.7753 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000728/0.5523, allocations: 254.2 kB / 0.7756 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004401/0.5527, allocations: 359.3 kB / 0.7759 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5527, allocations: 0 / 0.7759 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.836/4.388, allocations: 20.23 MB / 0.7957 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.07/26.46, allocations: 11.95 kB / 0.7957 GB, free: 3.82 MB / 0.6075 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/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)