Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.0009347/0.0009348, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005412/0.005412, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.225/2.225, allocations: 437.8 MB / 0.7121 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002773, allocations: 8 kB / 0.8729 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/0.522, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005379/0.5274, allocations: 3.38 MB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004225/0.5317, allocations: 2.505 MB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.5319, allocations: 15.94 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.5326, allocations: 222.7 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008887/0.5335, allocations: 470 kB / 1.03 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.5345, allocations: 467.1 kB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.5361, allocations: 1.628 MB / 1.032 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.5363, allocations: 129.3 kB / 1.032 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005612/0.5369, allocations: 366.5 kB / 1.032 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007238/0.5376, allocations: 0.5137 MB / 1.033 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.5377, allocations: 32 kB / 1.033 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.5379, allocations: 32 kB / 1.033 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.5382, allocations: 311 kB / 1.033 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.5386, allocations: 455.3 kB / 1.033 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.5394, allocations: 0.8949 MB / 1.034 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5394, allocations: 0 / 1.034 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5394, allocations: 0 / 1.034 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.072e-05/0.5394, allocations: 0 / 1.034 GB, free: 4.441 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002055/0.5415, allocations: 1.133 MB / 1.035 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5415, allocations: 16.03 kB / 1.035 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.063e-05/0.5416, allocations: 66.72 kB / 1.035 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.5418, allocations: 99.81 kB / 1.035 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.5428, allocations: 0.6558 MB / 1.036 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.5428, allocations: 41.03 kB / 1.036 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.5429, allocations: 60.12 kB / 1.036 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.5435, allocations: 415 kB / 1.037 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5435, allocations: 3.938 kB / 1.037 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.5436, allocations: 12 kB / 1.037 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.5436, allocations: 8 kB / 1.037 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.544, allocations: 242.4 kB / 1.037 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.547, allocations: 2.517 MB / 1.039 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.5484, allocations: 0.5493 MB / 1.04 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.5487, allocations: 168.7 kB / 1.04 GB, free: 14.15 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.5487, allocations: 4 kB / 1.04 GB, free: 14.14 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.5488, allocations: 34.56 kB / 1.04 GB, free: 14.1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.5488, allocations: 0 / 1.04 GB, free: 14.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.001599/0.5504, allocations: 0.9014 MB / 1.041 GB, free: 13.13 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.5504, allocations: 55.41 kB / 1.041 GB, free: 13.06 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.5516, allocations: 0.9231 MB / 1.042 GB, free: 12.13 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.5517, allocations: 41.7 kB / 1.042 GB, free: 12.09 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.5519, allocations: 368.8 kB / 1.042 GB, free: 11.72 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.552, allocations: 114.3 kB / 1.042 GB, free: 11.61 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.5522, allocations: 101.7 kB / 1.043 GB, free: 11.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.5523, allocations: 394.7 kB / 1.043 GB, free: 11.11 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.5527, allocations: 245.8 kB / 1.043 GB, free: 10.87 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.5534, allocations: 0.6349 MB / 1.044 GB, free: 10.04 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.5545, allocations: 0.9027 MB / 1.045 GB, free: 8.941 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.5545, allocations: 4 kB / 1.045 GB, free: 8.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001613/0.5561, allocations: 1.022 MB / 1.046 GB, free: 7.898 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5561, allocations: 12.47 kB / 1.046 GB, free: 7.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.5562, allocations: 15.94 kB / 1.046 GB, free: 7.871 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/0.5566, allocations: 122.5 kB / 1.046 GB, free: 7.742 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.5572, allocations: 195.6 kB / 1.046 GB, free: 7.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.5603, allocations: 4.165 MB / 1.05 GB, free: 2.984 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008671/0.5611, allocations: 111 kB / 1.05 GB, free: 2.875 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.5612, allocations: 40 kB / 1.05 GB, free: 2.836 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003013/0.5615, allocations: 273.5 kB / 1.05 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.5616, allocations: 86.81 kB / 1.051 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.5618, allocations: 80.53 kB / 1.051 GB, free: 2.391 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.5618, allocations: 11.88 kB / 1.051 GB, free: 2.379 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5618, allocations: 0 / 1.051 GB, free: 2.379 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5618, allocations: 3.984 kB / 1.051 GB, free: 2.375 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007251/0.5626, allocations: 0.657 MB / 1.051 GB, free: 1.668 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5626, allocations: 0 / 1.051 GB, free: 1.668 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.5629, allocations: 71.94 kB / 1.051 GB, free: 1.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/0.5632, allocations: 102.4 kB / 1.051 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.5632, allocations: 8 kB / 1.051 GB, free: 1.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.5662, allocations: 4.134 MB / 1.055 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5662, allocations: 4.031 kB / 1.055 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.5673, allocations: 0.7447 MB / 1.056 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.5675, allocations: 211.8 kB / 1.056 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.688e-05/0.5676, allocations: 8 kB / 1.056 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.5681, allocations: 23.97 kB / 1.056 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.5682, allocations: 36.02 kB / 1.056 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.5682, allocations: 8 kB / 1.056 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007868/0.569, allocations: 0.6161 MB / 1.057 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.569, allocations: 0 / 1.057 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007967/0.5698, allocations: 267.8 kB / 1.057 GB, free: 11 MB / 0.8106 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],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/0.5712, allocations: 1.312 MB / 1.059 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.5724, allocations: 0.9398 MB / 1.06 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5724, allocations: 0.5 kB / 1.06 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.573, allocations: 0.5233 MB / 1.06 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008678/0.5739, allocations: 168.8 kB / 1.06 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.5845, allocations: 8.474 MB / 1.068 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.585, allocations: 0.9956 MB / 1.069 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000384/0.5854, allocations: 145.9 kB / 1.07 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.5858, allocations: 279.3 kB / 1.07 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.5858, allocations: 0 / 1.07 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5227/1.108, allocations: 16.25 MB / 1.086 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/1.109, allocations: 226.6 kB / 1.086 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/3.161, allocations: 3.938 kB / 1.086 GB, free: 13.22 MB / 0.8419 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)