Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_10_Buildings_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.00133/0.00133, 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.001408/0.001408, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.372/2.372, allocations: 437 MB / 0.7099 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 0.8686 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5459, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005552/0.5515, allocations: 4.954 MB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1389/0.6903, allocations: 148.3 MB / 1.166 GB, free: 8.914 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006578/0.691, allocations: 15.88 kB / 1.166 GB, free: 8.898 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.6916, allocations: 150.8 kB / 1.167 GB, free: 8.75 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.6929, allocations: 477.3 kB / 1.167 GB, free: 8.285 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.6945, allocations: 0.7362 MB / 1.168 GB, free: 7.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.6956, allocations: 1.33 MB / 1.169 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007318/0.6963, allocations: 0.579 MB / 1.17 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004959/0.6968, allocations: 446.2 kB / 1.17 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.6973, allocations: 489.7 kB / 1.17 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.6974, allocations: 56 kB / 1.171 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006894/0.6981, allocations: 403.6 kB / 1.171 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.6983, allocations: 239 kB / 1.171 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.6987, allocations: 0.5127 MB / 1.172 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.7001, allocations: 1.565 MB / 1.173 GB, free: 1.934 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7001, allocations: 0 / 1.173 GB, free: 1.934 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.51e-07/0.7001, allocations: 0 / 1.173 GB, free: 1.934 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.7001, allocations: 0 / 1.173 GB, free: 1.934 MB / 0.92 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.002355/0.7025, allocations: 1.47 MB / 1.175 GB, free: 424 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.7025, allocations: 8.031 kB / 1.175 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.7027, allocations: 139.7 kB / 1.175 GB, free: 268 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.7038, allocations: 235.2 kB / 1.175 GB, free: 32 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009766/0.7048, allocations: 0.7459 MB / 1.176 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.7048, allocations: 69.94 kB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.705, allocations: 88 kB / 1.176 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.7065, allocations: 0.9872 MB / 1.177 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.7065, allocations: 0 / 1.177 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/0.7066, allocations: 40 kB / 1.177 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.7067, allocations: 24 kB / 1.177 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.7085, allocations: 1.163 MB / 1.178 GB, free: 12.83 MB / 0.9356 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.003917/0.7124, allocations: 3.037 MB / 1.181 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.7141, allocations: 0.9595 MB / 1.182 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.7146, allocations: 314.3 kB / 1.182 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.7147, allocations: 28.62 kB / 1.182 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008489/0.7155, allocations: 0.5042 MB / 1.183 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 2.074e-06/0.7156, allocations: 0 / 1.183 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.003/0.7186, allocations: 1.231 MB / 1.184 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.7187, allocations: 196.9 kB / 1.184 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006842/0.7194, allocations: 0.6332 MB / 1.185 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.893e-05/0.7194, allocations: 41.7 kB / 1.185 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.7197, allocations: 416.2 kB / 1.185 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.7199, allocations: 264.2 kB / 1.185 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.7201, allocations: 154.5 kB / 1.186 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.7203, allocations: 382.8 kB / 1.186 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.7207, allocations: 253.9 kB / 1.186 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005718/0.7213, allocations: 389.1 kB / 1.187 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.7224, allocations: 0.6267 MB / 1.187 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.7224, allocations: 0 / 1.187 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001773/0.7241, allocations: 0.833 MB / 1.188 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.7242, allocations: 8 kB / 1.188 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.7242, allocations: 0 / 1.188 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/0.7248, allocations: 84.95 kB / 1.188 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/0.7254, allocations: 155.8 kB / 1.188 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.7273, allocations: 1.543 MB / 1.19 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006463/0.728, allocations: 95.3 kB / 1.19 GB, free: 248 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.728, allocations: 31.98 kB / 1.19 GB, free: 216 kB / 0.9356 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.0003675/0.7284, allocations: 268.9 kB / 1.19 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.7286, allocations: 82.97 kB / 1.19 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.7308, allocations: 1.089 MB / 1.191 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.7308, allocations: 12 kB / 1.191 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.7308, allocations: 0 / 1.191 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.7309, allocations: 12.02 kB / 1.191 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/0.7341, allocations: 2.106 MB / 1.193 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7341, allocations: 0 / 1.193 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.7347, allocations: 147.8 kB / 1.193 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004923/0.7352, allocations: 84.77 kB / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.286e-05/0.7353, allocations: 23.98 kB / 1.194 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.737, allocations: 1.551 MB / 1.195 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.737, allocations: 0 / 1.195 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.7389, allocations: 1.012 MB / 1.196 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.7393, allocations: 271.7 kB / 1.196 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.7394, allocations: 27.92 kB / 1.196 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/0.7401, allocations: 67.84 kB / 1.196 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.7402, allocations: 72.89 kB / 1.197 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/0.7403, allocations: 31.98 kB / 1.197 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005674/0.7409, allocations: 463 kB / 1.197 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7409, allocations: 0 / 1.197 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008195/0.7417, allocations: 331.2 kB / 1.197 GB, free: 8.324 MB / 0.9512 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.003279/0.745, allocations: 2.058 MB / 1.199 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.7465, allocations: 0.816 MB / 1.2 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7466, allocations: 7.938 kB / 1.2 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008574/0.7474, allocations: 0.5313 MB / 1.201 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.7486, allocations: 292.4 kB / 1.201 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.7591, allocations: 6.963 MB / 1.208 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.7598, allocations: 1.027 MB / 1.209 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008719/0.7607, allocations: 259 kB / 1.209 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/0.7612, allocations: 399.3 kB / 1.209 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.7612, allocations: 0 / 1.209 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.7997, allocations: 21.26 MB / 1.23 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/0.8, allocations: 311.4 kB / 1.23 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/3.033, allocations: 0 / 1.23 GB, free: 6.617 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)