Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_8_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.001152/0.001152, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001332/0.001332, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 222.1 MB, free: 5.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005165/0.0005166, allocations: 11.91 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004256/0.2494, allocations: 3.221 MB / 0.7905 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004527/0.254, allocations: 2.403 MB / 0.7929 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006929/0.2547, allocations: 15.88 kB / 0.7929 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009131/0.2556, allocations: 206.8 kB / 0.7931 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.2571, allocations: 446 kB / 0.7935 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.2584, allocations: 427.1 kB / 0.7939 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.2603, allocations: 1.308 MB / 0.7952 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.2607, allocations: 123.5 kB / 0.7953 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008236/0.2615, allocations: 390.5 kB / 0.7957 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009316/0.2624, allocations: 0.4983 MB / 0.7962 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.2626, allocations: 32 kB / 0.7962 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.263, allocations: 36 kB / 0.7962 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004658/0.2634, allocations: 315.1 kB / 0.7965 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.2638, allocations: 185.3 kB / 0.7967 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.2646, allocations: 0.6896 MB / 0.7974 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2646, allocations: 4 kB / 0.7974 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.055e-06/0.2646, allocations: 4 kB / 0.7974 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.251e-05/0.2647, allocations: 0 / 0.7974 GB, free: 1.551 MB / 0.6075 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.002375/0.2671, allocations: 1.156 MB / 0.7985 GB, free: 352 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2671, allocations: 12.03 kB / 0.7985 GB, free: 340 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.2673, allocations: 66.53 kB / 0.7986 GB, free: 264 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.2676, allocations: 106.8 kB / 0.7987 GB, free: 156 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.2688, allocations: 0.6279 MB / 0.7993 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.2689, allocations: 40.66 kB / 0.7994 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.269, allocations: 56 kB / 0.7994 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.2697, allocations: 411 kB / 0.7998 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.2697, allocations: 4 kB / 0.7998 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.2698, allocations: 16 kB / 0.7998 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.2698, allocations: 8 kB / 0.7998 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.2702, allocations: 234.4 kB / 0.8001 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.2734, allocations: 2.513 MB / 0.8025 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.2748, allocations: 0.5601 MB / 0.8031 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.2751, allocations: 164.7 kB / 0.8032 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.2751, allocations: 8 kB / 0.8032 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.2752, allocations: 38.56 kB / 0.8033 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 1.644e-06/0.2752, allocations: 0 / 0.8033 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30): time 0.001659/0.2768, allocations: 0.8827 MB / 0.8041 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.2769, allocations: 63.41 kB / 0.8042 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.2782, allocations: 0.9191 MB / 0.8051 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.2783, allocations: 41.7 kB / 0.8051 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.2786, allocations: 360.8 kB / 0.8055 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.2787, allocations: 114.4 kB / 0.8056 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.2788, allocations: 16 kB / 0.8056 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.279, allocations: 390.8 kB / 0.806 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.2794, allocations: 249.8 kB / 0.8062 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006837/0.2801, allocations: 0.6387 MB / 0.8068 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.2807, allocations: 335.4 kB / 0.8071 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.2807, allocations: 4 kB / 0.8071 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001726/0.2824, allocations: 1.011 MB / 0.8081 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.2825, allocations: 16 kB / 0.8081 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.2825, allocations: 16 kB / 0.8082 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.2829, allocations: 122.5 kB / 0.8083 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.2835, allocations: 195.7 kB / 0.8085 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/0.2868, allocations: 4.161 MB / 0.8125 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008327/0.2876, allocations: 114.9 kB / 0.8126 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.2877, allocations: 51.92 kB / 0.8127 GB, free: 0.8125 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003265/0.2881, allocations: 277.1 kB / 0.8129 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.2882, allocations: 79.2 kB / 0.813 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.2883, allocations: 76.53 kB / 0.8131 GB, free: 392 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2884, allocations: 7.984 kB / 0.8131 GB, free: 384 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2884, allocations: 0 / 0.8131 GB, free: 384 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2884, allocations: 11.94 kB / 0.8131 GB, free: 372 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007801/0.2892, allocations: 0.6453 MB / 0.8137 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2892, allocations: 4 kB / 0.8138 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.2895, allocations: 71.88 kB / 0.8138 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002691/0.2898, allocations: 102.4 kB / 0.8139 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.2898, allocations: 15.98 kB / 0.8139 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/0.2927, allocations: 4.13 MB / 0.818 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2927, allocations: 0 / 0.818 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.2937, allocations: 0.7442 MB / 0.8187 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.294, allocations: 211.8 kB / 0.8189 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.2941, allocations: 8 kB / 0.8189 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.2945, allocations: 35.89 kB / 0.8189 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.2946, allocations: 23.97 kB / 0.819 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.2946, allocations: 11.95 kB / 0.819 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008119/0.2955, allocations: 0.6122 MB / 0.8196 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2955, allocations: 0 / 0.8196 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008814/0.2964, allocations: 267.8 kB / 0.8198 GB, free: 9 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001275/0.2976, allocations: 1.292 MB / 0.8211 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.299, allocations: 0.9203 MB / 0.822 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.299, allocations: 4.062 kB / 0.822 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.2996, allocations: 0.5238 MB / 0.8225 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008503/0.3005, allocations: 175.2 kB / 0.8227 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008875/0.3094, allocations: 5.81 MB / 0.8283 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/0.31, allocations: 0.9877 MB / 0.8293 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004503/0.3105, allocations: 145.9 kB / 0.8294 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003726/0.3109, allocations: 275.3 kB / 0.8297 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of SimCode: time 9.42e-07/0.3109, allocations: 0 / 0.8297 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.3459, allocations: 16.81 MB / 0.8461 GB, free: 13.86 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.3462, allocations: 212.1 kB / 0.8463 GB, free: 13.62 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/2.525, allocations: 0 / 0.8463 GB, free: 13.62 MB / 0.67 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) Environment - environmentSimulation: