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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008629/0.0008629, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9997/0.9997, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001883/0.001883, allocations: 241 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.739/0.739, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6462 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.998e-05, allocations: 6.219 kB / 0.6462 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.3473/0.3473, allocations: 4.481 MB / 0.6506 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1508/0.4981, allocations: 132.8 MB / 0.7803 GB, free: 1.848 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009151/0.499, allocations: 27.75 kB / 0.7803 GB, free: 1.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.4995, allocations: 198.1 kB / 0.7805 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.5011, allocations: 0.58 MB / 0.7811 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.5027, allocations: 0.8907 MB / 0.7819 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.5039, allocations: 1.483 MB / 0.7834 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006392/0.5045, allocations: 408.7 kB / 0.7838 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009178/0.5054, allocations: 0.7523 MB / 0.7845 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008113/0.5062, allocations: 410.7 kB / 0.7849 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.5064, allocations: 120 kB / 0.785 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.5076, allocations: 499.4 kB / 0.7855 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.5079, allocations: 314.9 kB / 0.7858 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.5083, allocations: 403 kB / 0.7862 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.5103, allocations: 1.799 MB / 0.7879 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5103, allocations: 0 / 0.7879 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5103, allocations: 0 / 0.7879 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.5103, allocations: 4 kB / 0.7879 GB, free: 9.98 MB / 0.6198 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.002038/0.5123, allocations: 1.432 MB / 0.7893 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001229/0.5125, allocations: 9.938 kB / 0.7893 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.5126, allocations: 143.7 kB / 0.7895 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009687/0.5136, allocations: 288.6 kB / 0.7897 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/0.5145, allocations: 0.7296 MB / 0.7905 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.5146, allocations: 69.94 kB / 0.7905 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.5147, allocations: 84 kB / 0.7906 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.5159, allocations: 1.234 MB / 0.7918 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.5159, allocations: 4 kB / 0.7918 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.516, allocations: 36.66 kB / 0.7919 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.516, allocations: 20 kB / 0.7919 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.5174, allocations: 1.12 MB / 0.793 GB, free: 4.645 MB / 0.6198 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.003547/0.521, allocations: 2.539 MB / 0.7954 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.5221, allocations: 0.8172 MB / 0.7962 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.5225, allocations: 283.9 kB / 0.7965 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.92e-05/0.5225, allocations: 28.48 kB / 0.7965 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007231/0.5233, allocations: 0.6012 MB / 0.7971 GB, free: 280 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 2.675e-06/0.5233, allocations: 4 kB / 0.7971 GB, free: 276 kB / 0.6198 GB Notification: Performance of matching and sorting (n=83): time 0.001857/0.5251, allocations: 1.16 MB / 0.7983 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.5252, allocations: 200.9 kB / 0.7985 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.5257, allocations: 0.6568 MB / 0.7991 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.5257, allocations: 41.7 kB / 0.7991 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.526, allocations: 428.9 kB / 0.7995 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.5261, allocations: 281.6 kB / 0.7998 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.5262, allocations: 150.6 kB / 0.8 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5264, allocations: 394.7 kB / 0.8003 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.5267, allocations: 253.9 kB / 0.8006 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.5271, allocations: 0.5055 MB / 0.8011 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.5278, allocations: 0.6189 MB / 0.8017 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5278, allocations: 3.938 kB / 0.8017 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001219/0.529, allocations: 0.8375 MB / 0.8025 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.529, allocations: 7.938 kB / 0.8025 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.529, allocations: 4 kB / 0.8025 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/0.5293, allocations: 87.14 kB / 0.8026 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.5297, allocations: 159.7 kB / 0.8027 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.531, allocations: 1.522 MB / 0.8042 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.5314, allocations: 91.47 kB / 0.8043 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.5314, allocations: 35.92 kB / 0.8043 GB, free: 8.574 MB / 0.6355 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.0002634/0.5317, allocations: 278.3 kB / 0.8046 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.373e-05/0.5317, allocations: 87.44 kB / 0.8047 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.5332, allocations: 1.091 MB / 0.8058 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.5333, allocations: 12 kB / 0.8058 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.5333, allocations: 0 / 0.8058 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.5333, allocations: 3.984 kB / 0.8058 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.5357, allocations: 1.912 MB / 0.8076 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.5357, allocations: 0.875 kB / 0.8076 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.536, allocations: 154.4 kB / 0.8078 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.5362, allocations: 72.78 kB / 0.8079 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.5362, allocations: 27.98 kB / 0.8079 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.5378, allocations: 1.554 MB / 0.8094 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5378, allocations: 0 / 0.8094 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.539, allocations: 1.026 MB / 0.8104 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.5392, allocations: 203.1 kB / 0.8106 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/0.5393, allocations: 20 kB / 0.8106 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.5396, allocations: 66.19 kB / 0.8107 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.5397, allocations: 76.84 kB / 0.8108 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.5398, allocations: 35.98 kB / 0.8108 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003718/0.5401, allocations: 483 kB / 0.8113 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5401, allocations: 0 / 0.8113 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006024/0.5407, allocations: 335.1 kB / 0.8116 GB, free: 0.9688 MB / 0.6355 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.002659/0.5434, allocations: 2.115 MB / 0.8136 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.5446, allocations: 0.7921 MB / 0.8144 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5446, allocations: 0 / 0.8144 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005789/0.5452, allocations: 0.4967 MB / 0.8149 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009739/0.5462, allocations: 326.2 kB / 0.8152 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006656/0.5529, allocations: 6.461 MB / 0.8215 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.5531, allocations: 460.8 kB / 0.822 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005469/0.5537, allocations: 267 kB / 0.8222 GB, free: 6.102 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.5541, allocations: 408.3 kB / 0.8226 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/0.5541, allocations: 3.938 kB / 0.8226 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04902/0.6031, allocations: 24.46 MB / 0.8465 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.233/9.836, allocations: 13.66 kB / 0.8465 GB, free: 13.6 MB / 0.6823 GB " [Timeout remaining time 650] (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 --stepSize=34.56 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.05476191546768] Failed to read output from testmodel.py, exit status != 0: 9.990379487164319 9.999386955 9.487136068 Calling exit ...