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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001368/0.001368, allocations: 108 kB / 15.6 MB, free: 132 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.001325/0.001325, allocations: 198.6 kB / 16.53 MB, free: 6.391 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.189/1.189, allocations: 222.9 MB / 240.2 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.396/2.396, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.58 kB / 0.8992 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2195, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004231/0.2238, allocations: 3.747 MB / 1.057 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003407/0.2272, allocations: 2.509 MB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003209/0.2275, allocations: 11.94 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.2282, allocations: 254.3 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0008483/0.2291, allocations: 0.5016 MB / 1.06 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.2301, allocations: 0.5328 MB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.2313, allocations: 1.383 MB / 1.062 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.2316, allocations: 153.1 kB / 1.062 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004964/0.2321, allocations: 426.5 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006002/0.2327, allocations: 0.5098 MB / 1.063 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.2328, allocations: 56 kB / 1.063 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.2329, allocations: 64 kB / 1.063 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.2332, allocations: 339 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.2336, allocations: 469.5 kB / 1.064 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006636/0.2343, allocations: 0.9186 MB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2343, allocations: 0 / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2343, allocations: 3.984 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.2343, allocations: 0 / 1.064 GB, free: 12.41 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.00197/0.2363, allocations: 1.269 MB / 1.066 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2363, allocations: 12.62 kB / 1.066 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.982e-05/0.2364, allocations: 66.72 kB / 1.066 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.2366, allocations: 103.7 kB / 1.066 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/0.2374, allocations: 0.648 MB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.2374, allocations: 49.02 kB / 1.067 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.2375, allocations: 60.12 kB / 1.067 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.238, allocations: 407 kB / 1.067 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.238, allocations: 3.938 kB / 1.067 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.2381, allocations: 16 kB / 1.067 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.2381, allocations: 11.94 kB / 1.067 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.2385, allocations: 234.4 kB / 1.067 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.241, allocations: 2.498 MB / 1.07 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.2423, allocations: 0.5494 MB / 1.07 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.2425, allocations: 164.7 kB / 1.07 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.2425, allocations: 4 kB / 1.07 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.2426, allocations: 38.56 kB / 1.07 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.2426, allocations: 0 / 1.07 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001371/0.2439, allocations: 0.8829 MB / 1.071 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.244, allocations: 63.41 kB / 1.071 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009396/0.2449, allocations: 0.9232 MB / 1.072 GB, free: 4 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.245, allocations: 37.7 kB / 1.072 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.2452, allocations: 364.8 kB / 1.073 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.294e-05/0.2453, allocations: 118.3 kB / 1.073 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.2455, allocations: 174.5 kB / 1.073 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2456, allocations: 390.7 kB / 1.073 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.246, allocations: 245.8 kB / 1.074 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.2465, allocations: 0.6349 MB / 1.074 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008744/0.2474, allocations: 0.9007 MB / 1.075 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.2474, allocations: 4 kB / 1.075 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001391/0.2488, allocations: 1.014 MB / 1.076 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2488, allocations: 12 kB / 1.076 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.2488, allocations: 19.97 kB / 1.076 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/0.2492, allocations: 122.5 kB / 1.076 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/0.2497, allocations: 191.7 kB / 1.076 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.2525, allocations: 4.469 MB / 1.081 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/0.2532, allocations: 118.9 kB / 1.081 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.2533, allocations: 40 kB / 1.081 GB, free: 10.32 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.0002415/0.2535, allocations: 277.4 kB / 1.081 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2536, allocations: 82.97 kB / 1.081 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.2537, allocations: 72.53 kB / 1.081 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2537, allocations: 4 kB / 1.081 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2538, allocations: 4 kB / 1.081 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.2538, allocations: 7.984 kB / 1.081 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.2544, allocations: 0.6569 MB / 1.082 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2544, allocations: 3.984 kB / 1.082 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.2547, allocations: 67.95 kB / 1.082 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002634/0.255, allocations: 106.4 kB / 1.082 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.255, allocations: 15.92 kB / 1.082 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/0.2576, allocations: 4.445 MB / 1.086 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2576, allocations: 4.031 kB / 1.086 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009126/0.2585, allocations: 0.7359 MB / 1.087 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.2588, allocations: 207.9 kB / 1.087 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/0.2588, allocations: 12 kB / 1.087 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.2593, allocations: 15.97 kB / 1.087 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.2593, allocations: 27.97 kB / 1.087 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.2594, allocations: 11.98 kB / 1.087 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006812/0.26, allocations: 0.62 MB / 1.088 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2601, allocations: 0 / 1.088 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006996/0.2608, allocations: 271.7 kB / 1.088 GB, free: 2.156 MB / 0.8419 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.001217/0.262, allocations: 1.292 MB / 1.09 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.2632, allocations: 0.9621 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2632, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.2637, allocations: 0.5176 MB / 1.091 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.2645, allocations: 174.3 kB / 1.091 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00865/0.2731, allocations: 8.134 MB / 1.099 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.2736, allocations: 0.9878 MB / 1.1 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003538/0.274, allocations: 153.8 kB / 1.1 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.2743, allocations: 279.3 kB / 1.1 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.2743, allocations: 0 / 1.1 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.641/2.915, allocations: 17.05 MB / 1.117 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/14.49, allocations: 11.73 kB / 1.117 GB, free: 4.133 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)