Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",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.0008969/0.0008968, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.00492/0.00492, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.277/2.277, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004718, allocations: 12.28 kB / 0.8729 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.5191, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.001889/0.5211, allocations: 1.613 MB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009219/0.522, allocations: 0.6276 MB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.402e-05/0.5221, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.5223, allocations: 47.75 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.5225, allocations: 71.62 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.5227, allocations: 59.88 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006117/0.5233, allocations: 0.7097 MB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.5234, allocations: 36.94 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.5237, allocations: 215.5 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.5241, allocations: 263.4 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/0.5242, allocations: 24 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.71e-05/0.5242, allocations: 24 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.5244, allocations: 163.5 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.5246, allocations: 213 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.525, allocations: 484.7 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.525, allocations: 4 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.525, allocations: 0 / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.525, allocations: 0 / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001748/0.5268, allocations: 0.7172 MB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.5268, allocations: 8.031 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/0.5269, allocations: 46.73 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.726e-05/0.527, allocations: 36.56 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.5274, allocations: 312 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.5274, allocations: 24.17 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.5275, allocations: 32 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.5278, allocations: 172.6 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.5278, allocations: 0 / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.5278, allocations: 11.94 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5278, allocations: 4 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.5281, allocations: 152.5 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003879/0.5319, allocations: 1.343 MB / 1.03 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.5332, allocations: 470.2 kB / 1.031 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.5334, allocations: 120.8 kB / 1.031 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.5334, allocations: 7.984 kB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.5334, allocations: 34.56 kB / 1.031 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/0.5334, allocations: 0 / 1.031 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0006381/0.5341, allocations: 359.2 kB / 1.031 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.5341, allocations: 59.34 kB / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.5344, allocations: 286.5 kB / 1.032 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.5344, allocations: 41.64 kB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.5345, allocations: 136.9 kB / 1.032 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.5346, allocations: 74.86 kB / 1.032 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.5347, allocations: 65.67 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.5347, allocations: 338.8 kB / 1.032 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.5352, allocations: 273 kB / 1.032 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.5356, allocations: 324.6 kB / 1.033 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.5363, allocations: 446.7 kB / 1.033 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5363, allocations: 0 / 1.033 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001038/0.5373, allocations: 0.6938 MB / 1.034 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5374, allocations: 5.875 kB / 1.034 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5374, allocations: 8.016 kB / 1.034 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.5374, allocations: 4 kB / 1.034 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.5381, allocations: 119.8 kB / 1.034 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5381, allocations: 4 kB / 1.034 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.5393, allocations: 95.33 kB / 1.034 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.5393, allocations: 19.98 kB / 1.034 GB, free: 4.246 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.5395, allocations: 158.2 kB / 1.034 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.5396, allocations: 31.64 kB / 1.034 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.36e-05/0.5396, allocations: 26.19 kB / 1.034 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5396, allocations: 4 kB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5396, allocations: 0 / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5396, allocations: 0 / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.54, allocations: 432.9 kB / 1.035 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.54, allocations: 0 / 1.035 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.5403, allocations: 51.91 kB / 1.035 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5403, allocations: 0 / 1.035 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.5403, allocations: 8 kB / 1.035 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.5403, allocations: 4 kB / 1.035 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5403, allocations: 3.938 kB / 1.035 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005718/0.5409, allocations: 0.4886 MB / 1.035 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.541, allocations: 108.7 kB / 1.035 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.541, allocations: 8 kB / 1.035 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.5416, allocations: 27.86 kB / 1.035 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.5416, allocations: 15.92 kB / 1.035 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.5417, allocations: 4 kB / 1.035 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001545/0.5418, allocations: 190 kB / 1.036 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5418, allocations: 4 kB / 1.036 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000491/0.5423, allocations: 200 kB / 1.036 GB, free: 2.414 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007959/0.5431, allocations: 1.038 MB / 1.037 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000666/0.5438, allocations: 462.9 kB / 1.037 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5438, allocations: 0 / 1.037 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.544, allocations: 115.9 kB / 1.037 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.5444, allocations: 66.53 kB / 1.037 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.5495, allocations: 4.513 MB / 1.042 GB, free: 12.12 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.5498, allocations: 0.7755 MB / 1.043 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.55, allocations: 90.2 kB / 1.043 GB, free: 11.23 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.5502, allocations: 87.39 kB / 1.043 GB, free: 11.15 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.5502, allocations: 0 / 1.043 GB, free: 11.15 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.039/1.59, allocations: 8.176 MB / 1.051 GB, free: 3.16 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/1.59, allocations: 207.5 kB / 1.051 GB, free: 2.91 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/4.157, allocations: 7.938 kB / 1.051 GB, free: 2.902 MB / 0.795 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1)