Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_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.001058/0.001058, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.00524/0.00524, allocations: 171.6 kB / 16.26 MB, free: 6.676 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001937/0.001937, allocations: 286.3 kB / 291.7 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9663/0.9663, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004476, allocations: 10.22 kB / 0.5988 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1658, allocations: 88.55 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005066/0.1709, allocations: 4.015 MB / 0.6891 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4852/0.6561, allocations: 146.7 MB / 0.8324 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008378/0.657, allocations: 17.5 kB / 0.8324 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.6576, allocations: 137.7 kB / 0.8325 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.6593, allocations: 440.9 kB / 0.833 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.6613, allocations: 0.7285 MB / 0.8337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001594/0.6629, allocations: 1.247 MB / 0.8349 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.664, allocations: 0.608 MB / 0.8355 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000737/0.6647, allocations: 361.1 kB / 0.8358 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006866/0.6654, allocations: 385.7 kB / 0.8362 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.6656, allocations: 24.91 kB / 0.8362 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.6666, allocations: 373 kB / 0.8366 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.6668, allocations: 192.7 kB / 0.8368 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005247/0.6673, allocations: 477.8 kB / 0.8372 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.6691, allocations: 1.477 MB / 0.8387 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6691, allocations: 0 / 0.8387 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6691, allocations: 3.469 kB / 0.8387 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.989e-05/0.6692, allocations: 0 / 0.8387 GB, free: 8.629 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002503/0.6717, allocations: 1.238 MB / 0.8399 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.6717, allocations: 9.75 kB / 0.8399 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002447/0.672, allocations: 145.9 kB / 0.84 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.6733, allocations: 253 kB / 0.8403 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.6748, allocations: 0.7513 MB / 0.841 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.044e-05/0.6749, allocations: 67.62 kB / 0.8411 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.6751, allocations: 83.12 kB / 0.8411 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.6772, allocations: 0.9878 MB / 0.8421 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.6772, allocations: 7.938 kB / 0.8421 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.6773, allocations: 37.84 kB / 0.8421 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.6773, allocations: 25.05 kB / 0.8422 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.6793, allocations: 1.18 MB / 0.8433 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004376/0.6837, allocations: 2.863 MB / 0.8461 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.6855, allocations: 0.965 MB / 0.8471 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/0.6861, allocations: 316.8 kB / 0.8474 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-05/0.6861, allocations: 32.45 kB / 0.8474 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008481/0.687, allocations: 0.4988 MB / 0.8479 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=83): time 2.816e-06/0.687, allocations: 0 / 0.8479 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.00308/0.6901, allocations: 1.237 MB / 0.8491 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.6902, allocations: 191.8 kB / 0.8493 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008406/0.6911, allocations: 0.6387 MB / 0.8499 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.569e-05/0.6912, allocations: 43.05 kB / 0.8499 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.6915, allocations: 417 kB / 0.8503 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.6917, allocations: 265.9 kB / 0.8506 GB, free: 348 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.479e-05/0.6918, allocations: 67.52 kB / 0.8506 GB, free: 296 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.692, allocations: 385.5 kB / 0.851 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.6925, allocations: 255.4 kB / 0.8513 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/0.6931, allocations: 383.2 kB / 0.8516 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.6942, allocations: 0.6296 MB / 0.8522 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6942, allocations: 4 kB / 0.8522 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0019/0.6961, allocations: 0.8386 MB / 0.8531 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.6961, allocations: 3.281 kB / 0.8531 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.6961, allocations: 2.75 kB / 0.8531 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005943/0.6967, allocations: 85.67 kB / 0.8532 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.6973, allocations: 163.4 kB / 0.8533 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.6994, allocations: 1.516 MB / 0.8548 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.7002, allocations: 110.9 kB / 0.8549 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/0.7003, allocations: 31.89 kB / 0.8549 GB, free: 13.11 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: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0004889/0.7008, allocations: 277.8 kB / 0.8552 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.701, allocations: 87.66 kB / 0.8553 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.7033, allocations: 1.095 MB / 0.8563 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.7033, allocations: 18.77 kB / 0.8564 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7033, allocations: 96 / 0.8564 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.7034, allocations: 7.969 kB / 0.8564 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.7069, allocations: 2.104 MB / 0.8584 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7069, allocations: 6.094 kB / 0.8584 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.7075, allocations: 147.6 kB / 0.8586 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005204/0.708, allocations: 87.28 kB / 0.8587 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.239e-05/0.7081, allocations: 32.94 kB / 0.8587 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.7098, allocations: 1.541 MB / 0.8602 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7098, allocations: 4.062 kB / 0.8602 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.7118, allocations: 1.017 MB / 0.8612 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/0.7122, allocations: 289.3 kB / 0.8615 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.7124, allocations: 16.88 kB / 0.8615 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007328/0.7131, allocations: 89.42 kB / 0.8616 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.7133, allocations: 74.23 kB / 0.8616 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.7134, allocations: 30.2 kB / 0.8617 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006077/0.714, allocations: 472.5 kB / 0.8621 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.714, allocations: 0 / 0.8621 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008958/0.7149, allocations: 314.6 kB / 0.8624 GB, free: 7.918 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003381/0.7183, allocations: 2.077 MB / 0.8644 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.7198, allocations: 0.8213 MB / 0.8652 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.7199, allocations: 2.938 kB / 0.8652 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008757/0.7207, allocations: 0.5191 MB / 0.8658 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.7221, allocations: 293.4 kB / 0.866 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.7351, allocations: 7.16 MB / 0.873 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.7358, allocations: 1.027 MB / 0.874 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009574/0.7367, allocations: 266.8 kB / 0.8743 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/0.7373, allocations: 403.2 kB / 0.8747 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.7374, allocations: 0 / 0.8747 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.474/2.211, allocations: 20.6 MB / 0.8948 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003843/2.212, allocations: 307.7 kB / 0.8951 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/4.795, allocations: 0 / 0.8951 GB, free: 8.172 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)