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.001415/0.001415, 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.001671/0.001671, allocations: 193.5 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.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 66.05 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.231, allocations: 157.4 MB / 1.052 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00461/0.2357, allocations: 3.758 MB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003799/0.2395, allocations: 2.544 MB / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.2399, allocations: 15.88 kB / 1.058 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.2406, allocations: 218.8 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000945/0.2416, allocations: 474 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2426, allocations: 469.9 kB / 1.059 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00153/0.2442, allocations: 1.62 MB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.2444, allocations: 132.8 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005429/0.2449, allocations: 378.5 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006848/0.2456, allocations: 0.5215 MB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.2458, allocations: 36 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.2459, allocations: 44 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.2462, allocations: 319 kB / 1.062 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004587/0.2467, allocations: 441.5 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007268/0.2474, allocations: 0.899 MB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2474, allocations: 0 / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2475, allocations: 0 / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.2475, allocations: 4 kB / 1.064 GB, free: 12.42 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.002227/0.2497, allocations: 1.269 MB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2498, allocations: 11.97 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.299e-05/0.2498, allocations: 74.72 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.25, allocations: 103.7 kB / 1.065 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009513/0.251, allocations: 0.6519 MB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.251, allocations: 44.97 kB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.2511, allocations: 60.12 kB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.2517, allocations: 414.9 kB / 1.066 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2517, allocations: 4 kB / 1.066 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.2518, allocations: 16 kB / 1.066 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2518, allocations: 8 kB / 1.066 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.2522, allocations: 234.4 kB / 1.067 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.2551, allocations: 2.498 MB / 1.069 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.2565, allocations: 0.5493 MB / 1.07 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.2568, allocations: 156.8 kB / 1.07 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2568, allocations: 4 kB / 1.07 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.2569, allocations: 38.56 kB / 1.07 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.2569, allocations: 0 / 1.07 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001505/0.2584, allocations: 0.8827 MB / 1.071 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.2584, allocations: 55.41 kB / 1.071 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.2595, allocations: 0.927 MB / 1.072 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.2596, allocations: 45.69 kB / 1.072 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.2598, allocations: 356.8 kB / 1.072 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/0.2599, allocations: 122.3 kB / 1.072 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.2601, allocations: 170.6 kB / 1.072 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2603, allocations: 390.8 kB / 1.073 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.2607, allocations: 245.8 kB / 1.073 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.2613, allocations: 0.6388 MB / 1.073 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009749/0.2623, allocations: 0.8968 MB / 1.074 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.2623, allocations: 4 kB / 1.074 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001556/0.2638, allocations: 1.014 MB / 1.075 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2639, allocations: 19.92 kB / 1.075 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.2639, allocations: 19.94 kB / 1.075 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000381/0.2643, allocations: 122.7 kB / 1.075 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/0.2649, allocations: 191.6 kB / 1.076 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.2678, allocations: 4.157 MB / 1.08 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/0.2686, allocations: 114.9 kB / 1.08 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.2687, allocations: 44 kB / 1.08 GB, free: 10.64 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.0002847/0.269, allocations: 265.4 kB / 1.08 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.2691, allocations: 82.95 kB / 1.08 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.2692, allocations: 80.59 kB / 1.08 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2692, allocations: 7.938 kB / 1.08 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2692, allocations: 3.938 kB / 1.08 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2692, allocations: 7.984 kB / 1.08 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.2699, allocations: 0.6453 MB / 1.081 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2699, allocations: 0 / 1.081 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.2703, allocations: 63.95 kB / 1.081 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002965/0.2706, allocations: 110.4 kB / 1.081 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.2706, allocations: 8 kB / 1.081 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/0.2734, allocations: 4.138 MB / 1.085 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2734, allocations: 0 / 1.085 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.2744, allocations: 0.7437 MB / 1.086 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.2747, allocations: 207.9 kB / 1.086 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.559e-05/0.2748, allocations: 8 kB / 1.086 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004669/0.2753, allocations: 27.97 kB / 1.086 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.2753, allocations: 27.91 kB / 1.086 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.2754, allocations: 11.98 kB / 1.086 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007642/0.2761, allocations: 0.6161 MB / 1.087 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2761, allocations: 4 kB / 1.087 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007822/0.2769, allocations: 271.7 kB / 1.087 GB, free: 2.824 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.001267/0.2782, allocations: 1.288 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.2794, allocations: 0.9159 MB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2794, allocations: 0 / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005811/0.28, allocations: 0.5245 MB / 1.09 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008409/0.2809, allocations: 167.1 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.2912, allocations: 8.33 MB / 1.098 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.2918, allocations: 0.9917 MB / 1.099 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003902/0.2922, allocations: 153.8 kB / 1.099 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/0.2925, allocations: 279.3 kB / 1.099 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of SimCode: time 3.7e-07/0.2925, allocations: 0 / 1.099 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.368/2.661, allocations: 16.47 MB / 1.115 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/2.661, allocations: 233.7 kB / 1.116 GB, free: 5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/4.926, allocations: 7 kB / 1.116 GB, free: 4.996 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)