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.006529/0.006529, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001601/0.0016, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 294.4 kB / 290.8 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 178.6 MB / 0.5074 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 95.83 kB / 0.6942 GB, free: 3.652 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4909/0.4936, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007271/0.501, allocations: 4.931 MB / 0.7861 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1821/0.6831, allocations: 150.6 MB / 0.9332 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009963/0.6841, allocations: 19.88 kB / 0.9332 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007145/0.685, allocations: 190.2 kB / 0.9334 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.6872, allocations: 0.5581 MB / 0.934 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.6896, allocations: 0.8553 MB / 0.9348 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001892/0.6915, allocations: 1.424 MB / 0.9362 GB, free: 124 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.6925, allocations: 0.6023 MB / 0.9368 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008488/0.6934, allocations: 0.4944 MB / 0.9373 GB, free: 15 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006999/0.6941, allocations: 0.5095 MB / 0.9378 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.6943, allocations: 124 kB / 0.9379 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.6953, allocations: 483.6 kB / 0.9383 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.6957, allocations: 299 kB / 0.9386 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005857/0.6963, allocations: 0.5791 MB / 0.9392 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002212/0.6985, allocations: 1.661 MB / 0.9408 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.6985, allocations: 4 kB / 0.9408 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6985, allocations: 0 / 0.9408 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.202e-05/0.6985, allocations: 0 / 0.9408 GB, free: 11.35 MB / 0.7012 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.002732/0.7013, allocations: 1.503 MB / 0.9423 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.7013, allocations: 8.031 kB / 0.9423 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.7015, allocations: 143.6 kB / 0.9424 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.7028, allocations: 236 kB / 0.9427 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.704, allocations: 0.7699 MB / 0.9434 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.7041, allocations: 77.92 kB / 0.9435 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.7042, allocations: 84 kB / 0.9436 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.706, allocations: 0.991 MB / 0.9445 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.706, allocations: 4 kB / 0.9445 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.49e-05/0.7061, allocations: 36 kB / 0.9446 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.7061, allocations: 24 kB / 0.9446 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.7082, allocations: 1.163 MB / 0.9457 GB, free: 6.168 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.7128, allocations: 3.018 MB / 0.9487 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.7148, allocations: 0.951 MB / 0.9496 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/0.7154, allocations: 318.7 kB / 0.9499 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-05/0.7155, allocations: 28.59 kB / 0.9499 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000931/0.7164, allocations: 0.5006 MB / 0.9504 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=83): time 2.524e-06/0.7164, allocations: 0 / 0.9504 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.003351/0.7198, allocations: 1.236 MB / 0.9516 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.7199, allocations: 192.9 kB / 0.9518 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008594/0.7208, allocations: 0.6371 MB / 0.9524 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.172e-05/0.7209, allocations: 41.7 kB / 0.9525 GB, free: 15 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.7213, allocations: 421 kB / 0.9529 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.7215, allocations: 277.6 kB / 0.9531 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.7218, allocations: 154.6 kB / 0.9533 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.722, allocations: 390.7 kB / 0.9537 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.7226, allocations: 253.9 kB / 0.9539 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.7232, allocations: 389.1 kB / 0.9543 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.7244, allocations: 0.6189 MB / 0.9549 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7244, allocations: 0 / 0.9549 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001982/0.7264, allocations: 0.8452 MB / 0.9557 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.7264, allocations: 4 kB / 0.9557 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.7264, allocations: 4 kB / 0.9557 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005878/0.727, allocations: 84.86 kB / 0.9558 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.7277, allocations: 159.8 kB / 0.956 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.73, allocations: 1.646 MB / 0.9576 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007169/0.7307, allocations: 95.53 kB / 0.9577 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.7308, allocations: 35.97 kB / 0.9577 GB, free: 9.434 MB / 0.7169 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.0004493/0.7313, allocations: 265.8 kB / 0.9579 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.7314, allocations: 87.44 kB / 0.958 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.7339, allocations: 1.089 MB / 0.9591 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.7339, allocations: 8 kB / 0.9591 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.734, allocations: 0 / 0.9591 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.734, allocations: 3.984 kB / 0.9591 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003768/0.7377, allocations: 2.095 MB / 0.9611 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.7378, allocations: 4 kB / 0.9611 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/0.7384, allocations: 147.7 kB / 0.9613 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/0.7388, allocations: 80.78 kB / 0.9614 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.7389, allocations: 23.98 kB / 0.9614 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.741, allocations: 1.662 MB / 0.963 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.741, allocations: 0 / 0.963 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.7432, allocations: 1.018 MB / 0.964 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.7436, allocations: 272.2 kB / 0.9643 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.7438, allocations: 27.94 kB / 0.9643 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/0.7444, allocations: 67.92 kB / 0.9644 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.7446, allocations: 76.83 kB / 0.9644 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.4e-05/0.7447, allocations: 31.98 kB / 0.9645 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006269/0.7453, allocations: 463 kB / 0.9649 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7453, allocations: 0 / 0.9649 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008804/0.7462, allocations: 335.1 kB / 0.9652 GB, free: 1.434 MB / 0.7169 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.004211/0.7504, allocations: 2.063 MB / 0.9672 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.7523, allocations: 0.8237 MB / 0.968 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.7523, allocations: 0 / 0.968 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.7533, allocations: 0.5315 MB / 0.9686 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.7547, allocations: 318.8 kB / 0.9689 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.7655, allocations: 6.379 MB / 0.9751 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.7663, allocations: 1.039 MB / 0.9761 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008542/0.7672, allocations: 266.8 kB / 0.9764 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005942/0.7678, allocations: 391.3 kB / 0.9767 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of SimCode: time 6.22e-07/0.7678, allocations: 0 / 0.9767 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06246/0.8302, allocations: 22.34 MB / 0.9986 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.63, allocations: 13.52 kB / 0.9986 GB, free: 15.61 MB / 0.7637 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)