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.001346/0.001346, 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.001336/0.001336, allocations: 192 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.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.543 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.387/2.387, allocations: 437 MB / 0.71 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 0.8686 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4746/0.4758, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002669/0.4785, allocations: 1.967 MB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009036/0.4795, allocations: 0.6392 MB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.896e-05/0.4796, allocations: 0 / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.4798, allocations: 47.75 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.48, allocations: 63.66 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.4802, allocations: 67.98 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.4807, allocations: 0.7173 MB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.4808, allocations: 33.09 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.4811, allocations: 207.6 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.4814, allocations: 271.3 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.4815, allocations: 24 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.4816, allocations: 24 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.4817, allocations: 159.6 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.4819, allocations: 199.2 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.4823, allocations: 488.9 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4823, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.42e-07/0.4823, allocations: 3.938 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4823, allocations: 4 kB / 1.021 GB, free: 13.85 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.001892/0.4842, allocations: 0.7523 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.4843, allocations: 8.031 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.4843, allocations: 50.73 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.232e-05/0.4844, allocations: 32.56 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.4848, allocations: 316 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.4848, allocations: 24.17 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.4849, allocations: 28 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.4851, allocations: 176.6 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.4852, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.4852, allocations: 4 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4852, allocations: 4 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.4854, allocations: 140.6 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.4894, allocations: 1.315 MB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.4906, allocations: 466.2 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.4908, allocations: 116.8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.4908, allocations: 3.984 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.4908, allocations: 34.56 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.362e-06/0.4909, allocations: 8 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0005747/0.4914, allocations: 346.8 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.4915, allocations: 51.41 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.4917, allocations: 290.5 kB / 1.025 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.4917, allocations: 33.7 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.4918, allocations: 136.9 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/0.4919, allocations: 78.84 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.4921, allocations: 122.2 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.4922, allocations: 342.8 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/0.4926, allocations: 269 kB / 1.026 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.4931, allocations: 324.6 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/0.4937, allocations: 434.7 kB / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4937, allocations: 0 / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00104/0.4947, allocations: 0.6939 MB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4947, allocations: 8 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4947, allocations: 0 / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.4948, allocations: 0 / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.4955, allocations: 131.8 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4955, allocations: 0 / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.4967, allocations: 87.34 kB / 1.028 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.4967, allocations: 19.98 kB / 1.028 GB, free: 6.832 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.0001373/0.4969, allocations: 162.2 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.4969, allocations: 31.56 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.497, allocations: 30.12 kB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.497, allocations: 4 kB / 1.028 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.497, allocations: 0 / 1.028 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.497, allocations: 3.984 kB / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.4974, allocations: 421.1 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4974, allocations: 8 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.4976, allocations: 51.84 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4976, allocations: 0 / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.4977, allocations: 11.98 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4977, allocations: 0 / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4977, allocations: 0 / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.4982, allocations: 493.3 kB / 1.029 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.4983, allocations: 112.8 kB / 1.029 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.4984, allocations: 8 kB / 1.029 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/0.4989, allocations: 23.86 kB / 1.029 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.499, allocations: 11.98 kB / 1.029 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.499, allocations: 4 kB / 1.029 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001375/0.4991, allocations: 193.9 kB / 1.03 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4991, allocations: 0 / 1.03 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004871/0.4996, allocations: 200 kB / 1.03 GB, free: 5.008 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.0007462/0.5004, allocations: 1.024 MB / 1.031 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006606/0.501, allocations: 465 kB / 1.031 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.5011, allocations: 4 kB / 1.031 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.5012, allocations: 115.9 kB / 1.031 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.5017, allocations: 52.53 kB / 1.031 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.5066, allocations: 4.39 MB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.5069, allocations: 0.7677 MB / 1.036 GB, free: 14.07 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002109/0.5071, allocations: 82.22 kB / 1.036 GB, free: 13.99 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.5073, allocations: 87.39 kB / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.5073, allocations: 0 / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.747/2.254, allocations: 8.346 MB / 1.045 GB, free: 5.719 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/2.254, allocations: 214 kB / 1.045 GB, free: 5.461 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/5.183, allocations: 0 / 1.045 GB, free: 5.461 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)