Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_11_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.001444/0.001444, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.259/1.259, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.5/2.5, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 67.92 kB / 0.9086 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.231, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004487/0.2356, allocations: 3.746 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003509/0.2391, allocations: 2.485 MB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.2393, allocations: 11.94 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005871/0.2399, allocations: 262.2 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000787/0.2407, allocations: 0.4938 MB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009523/0.2416, allocations: 0.5398 MB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.2428, allocations: 1.379 MB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.2431, allocations: 153.1 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004269/0.2435, allocations: 422.5 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000588/0.2441, allocations: 0.5137 MB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.209e-05/0.2442, allocations: 56 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.2443, allocations: 64 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.2446, allocations: 343 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.2451, allocations: 469.5 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007551/0.2458, allocations: 0.9186 MB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2458, allocations: 0 / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2458, allocations: 0 / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.2458, allocations: 0 / 1.076 GB, free: 2.379 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.001948/0.2478, allocations: 1.265 MB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2478, allocations: 12.03 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.195e-05/0.2479, allocations: 66.72 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.248, allocations: 107.7 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008666/0.2489, allocations: 0.6519 MB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.249, allocations: 45.03 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.249, allocations: 56.12 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.2496, allocations: 411 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2496, allocations: 3.938 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.2497, allocations: 20 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.2497, allocations: 12 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.2501, allocations: 234.4 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.2528, allocations: 2.49 MB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.2541, allocations: 0.5493 MB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.2544, allocations: 165.5 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.2544, allocations: 11.94 kB / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.2544, allocations: 34.56 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.252e-06/0.2545, allocations: 0 / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.001442/0.2559, allocations: 0.8791 MB / 1.082 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.2559, allocations: 55.41 kB / 1.082 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.257, allocations: 0.9271 MB / 1.083 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.257, allocations: 37.7 kB / 1.083 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.2573, allocations: 376.6 kB / 1.084 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.928e-05/0.2574, allocations: 114.4 kB / 1.084 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.2576, allocations: 166.6 kB / 1.084 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.2578, allocations: 390.8 kB / 1.084 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.2582, allocations: 253.8 kB / 1.085 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.2588, allocations: 0.631 MB / 1.085 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.2599, allocations: 0.9046 MB / 1.086 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2599, allocations: 4 kB / 1.086 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001477/0.2614, allocations: 1.014 MB / 1.087 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2614, allocations: 17.5 kB / 1.087 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.2614, allocations: 15.94 kB / 1.087 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/0.2618, allocations: 126.5 kB / 1.087 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.2623, allocations: 187.7 kB / 1.087 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.2656, allocations: 4.48 MB / 1.092 GB, free: 440 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.2663, allocations: 115 kB / 1.092 GB, free: 324 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.2663, allocations: 40 kB / 1.092 GB, free: 284 kB / 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.0002786/0.2666, allocations: 277.4 kB / 1.092 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.2667, allocations: 82.88 kB / 1.092 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.2669, allocations: 80.47 kB / 1.092 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2669, allocations: 4 kB / 1.092 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.2669, allocations: 4 kB / 1.092 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2669, allocations: 0 / 1.092 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006766/0.2676, allocations: 0.6531 MB / 1.093 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2676, allocations: 4 kB / 1.093 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.2679, allocations: 63.95 kB / 1.093 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002685/0.2681, allocations: 106.4 kB / 1.093 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.2682, allocations: 11.98 kB / 1.093 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/0.2713, allocations: 4.439 MB / 1.098 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2713, allocations: 0 / 1.098 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009804/0.2723, allocations: 0.7391 MB / 1.098 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.2726, allocations: 215.8 kB / 1.099 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.782e-05/0.2727, allocations: 11.98 kB / 1.099 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.2731, allocations: 15.98 kB / 1.099 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.2732, allocations: 31.95 kB / 1.099 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.2732, allocations: 8 kB / 1.099 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007397/0.2739, allocations: 0.62 MB / 1.099 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2739, allocations: 0 / 1.099 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006905/0.2746, allocations: 267.8 kB / 1.099 GB, free: 8.133 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.001266/0.2759, allocations: 1.299 MB / 1.101 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.2771, allocations: 0.9545 MB / 1.102 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2772, allocations: 0 / 1.102 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.2777, allocations: 0.5288 MB / 1.102 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.2785, allocations: 174.9 kB / 1.102 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009277/0.2878, allocations: 8.12 MB / 1.11 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.2883, allocations: 0.9956 MB / 1.111 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003325/0.2887, allocations: 153.8 kB / 1.111 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.289, allocations: 279.3 kB / 1.112 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.289, allocations: 0 / 1.112 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.118/5.407, allocations: 17.07 MB / 1.128 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/17.72, allocations: 0 / 1.128 GB, free: 10.09 MB / 0.8887 GB (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)