Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_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.00104/0.00104, allocations: 91.84 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.007932/0.007933, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.239/1.239, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.333/2.333, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002674, allocations: 16.06 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.219, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003058/0.222, allocations: 3.388 MB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003238/0.2253, allocations: 2.502 MB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.2256, allocations: 15.88 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005833/0.2262, allocations: 222.8 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008318/0.2271, allocations: 470 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000926/0.228, allocations: 471.1 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001373/0.2294, allocations: 1.628 MB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.2296, allocations: 124.8 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004847/0.2301, allocations: 374.5 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005995/0.2307, allocations: 0.5059 MB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.401e-05/0.2308, allocations: 32 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.2309, allocations: 40 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.2311, allocations: 307 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.2315, allocations: 459.2 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.2321, allocations: 0.8832 MB / 1.07 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2321, allocations: 0 / 1.07 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2321, allocations: 3.984 kB / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.2322, allocations: 4 kB / 1.07 GB, free: 9.449 MB / 0.8262 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.001696/0.2339, allocations: 1.137 MB / 1.071 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2339, allocations: 15.97 kB / 1.071 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.536e-05/0.234, allocations: 70.72 kB / 1.071 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.2341, allocations: 99.72 kB / 1.071 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008191/0.2349, allocations: 0.6559 MB / 1.072 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.235, allocations: 41.03 kB / 1.072 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/0.235, allocations: 60.12 kB / 1.072 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.2356, allocations: 418.9 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2356, allocations: 0 / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.2356, allocations: 15.94 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.2356, allocations: 8 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.236, allocations: 242.4 kB / 1.073 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/0.2385, allocations: 2.517 MB / 1.075 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.2397, allocations: 0.5493 MB / 1.076 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.24, allocations: 164.8 kB / 1.076 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.24, allocations: 4 kB / 1.076 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.24, allocations: 42.56 kB / 1.076 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.323e-06/0.24, allocations: 0 / 1.076 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.00135/0.2414, allocations: 0.8905 MB / 1.077 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.2414, allocations: 59.41 kB / 1.077 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009574/0.2424, allocations: 0.927 MB / 1.078 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.2424, allocations: 37.7 kB / 1.078 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.2426, allocations: 368.8 kB / 1.078 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-05/0.2427, allocations: 114.4 kB / 1.078 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.2428, allocations: 93.66 kB / 1.078 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.243, allocations: 394.8 kB / 1.079 GB, free: 112 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.2433, allocations: 249.8 kB / 1.079 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.2439, allocations: 0.6349 MB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008777/0.2448, allocations: 0.9046 MB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2448, allocations: 4 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001349/0.2461, allocations: 1.018 MB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2461, allocations: 12 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.2462, allocations: 15.94 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/0.2465, allocations: 126.7 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.2471, allocations: 191.7 kB / 1.082 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.2497, allocations: 4.173 MB / 1.086 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007541/0.2504, allocations: 118.9 kB / 1.086 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.2505, allocations: 36 kB / 1.086 GB, free: 7.82 MB / 0.8419 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.0002452/0.2507, allocations: 269.4 kB / 1.086 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/0.2508, allocations: 78.97 kB / 1.086 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.2509, allocations: 80.58 kB / 1.086 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.251, allocations: 11.88 kB / 1.086 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.251, allocations: 4 kB / 1.086 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.251, allocations: 0 / 1.086 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.2516, allocations: 0.6531 MB / 1.087 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2516, allocations: 0 / 1.087 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.2519, allocations: 63.95 kB / 1.087 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/0.2522, allocations: 110.4 kB / 1.087 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.2522, allocations: 12 kB / 1.087 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002438/0.2546, allocations: 4.138 MB / 1.091 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2546, allocations: 0 / 1.091 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008898/0.2555, allocations: 0.7438 MB / 1.092 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.2558, allocations: 211.8 kB / 1.092 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/0.2558, allocations: 8 kB / 1.092 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.2563, allocations: 27.97 kB / 1.092 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.2563, allocations: 28.09 kB / 1.092 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.2564, allocations: 7.984 kB / 1.092 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006713/0.257, allocations: 0.62 MB / 1.093 GB, free: 264 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.257, allocations: 0 / 1.093 GB, free: 264 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006857/0.2577, allocations: 271.9 kB / 1.093 GB, free: 15.99 MB / 0.8575 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.001118/0.2589, allocations: 1.295 MB / 1.094 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.2599, allocations: 0.9283 MB / 1.095 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.26, allocations: 0 / 1.095 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005112/0.2605, allocations: 0.5239 MB / 1.096 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/0.2612, allocations: 171.1 kB / 1.096 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009103/0.2703, allocations: 8.489 MB / 1.104 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.2708, allocations: 0.9917 MB / 1.105 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003397/0.2712, allocations: 145.9 kB / 1.105 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.2715, allocations: 283.2 kB / 1.105 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.2715, allocations: 0 / 1.105 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2953/0.5668, allocations: 16.27 MB / 1.121 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.567, allocations: 225.2 kB / 1.122 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/2.671, allocations: 8 kB / 1.122 GB, free: 2.223 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)