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.001029/0.001029, 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.001027/0.001027, allocations: 196.6 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.571/1.571, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001398/0.001398, allocations: 76.64 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1773, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00513/0.1825, allocations: 3.734 MB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004056/0.1865, allocations: 2.534 MB / 0.7896 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004551/0.187, allocations: 15.88 kB / 0.7896 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007882/0.1878, allocations: 246.4 kB / 0.7898 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.189, allocations: 0.5015 MB / 0.7903 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1903, allocations: 0.5411 MB / 0.7909 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001594/0.1919, allocations: 1.379 MB / 0.7922 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.1922, allocations: 149.1 kB / 0.7923 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006466/0.1928, allocations: 422.5 kB / 0.7927 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006752/0.1935, allocations: 0.5138 MB / 0.7932 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.251e-05/0.1936, allocations: 56 kB / 0.7933 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1938, allocations: 64 kB / 0.7934 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.1941, allocations: 343 kB / 0.7937 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.1945, allocations: 465.6 kB / 0.7941 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007831/0.1953, allocations: 0.9224 MB / 0.795 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1953, allocations: 0 / 0.795 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1953, allocations: 0 / 0.795 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.1953, allocations: 0 / 0.795 GB, free: 1.492 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.002041/0.1973, allocations: 1.272 MB / 0.7963 GB, free: 172 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1974, allocations: 8.031 kB / 0.7963 GB, free: 164 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.954e-05/0.1975, allocations: 74.72 kB / 0.7964 GB, free: 80 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.1976, allocations: 104 kB / 0.7965 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008667/0.1985, allocations: 0.648 MB / 0.7971 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.1985, allocations: 41.03 kB / 0.7971 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.881e-05/0.1986, allocations: 60.12 kB / 0.7972 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.1992, allocations: 411 kB / 0.7976 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1992, allocations: 0 / 0.7976 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.1992, allocations: 16 kB / 0.7976 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.1993, allocations: 8 kB / 0.7976 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.1996, allocations: 234.4 kB / 0.7978 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002757/0.2024, allocations: 2.502 MB / 0.8003 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.2038, allocations: 0.5533 MB / 0.8008 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.204, allocations: 168.7 kB / 0.801 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.204, allocations: 4 kB / 0.801 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.2041, allocations: 34.56 kB / 0.801 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 1.412e-06/0.2041, allocations: 0 / 0.801 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30): time 0.001493/0.2056, allocations: 0.8852 MB / 0.8019 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.2056, allocations: 55.41 kB / 0.8019 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.2067, allocations: 0.9193 MB / 0.8028 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.2067, allocations: 41.7 kB / 0.8029 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.207, allocations: 368.7 kB / 0.8032 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/0.2071, allocations: 118.4 kB / 0.8033 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.2073, allocations: 170.6 kB / 0.8035 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2074, allocations: 394.7 kB / 0.8039 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.2078, allocations: 249.8 kB / 0.8041 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.2083, allocations: 0.6348 MB / 0.8047 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009216/0.2093, allocations: 0.899 MB / 0.8056 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2093, allocations: 4 kB / 0.8056 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001473/0.2108, allocations: 1.014 MB / 0.8066 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.2108, allocations: 12 kB / 0.8066 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.2108, allocations: 15.94 kB / 0.8066 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003463/0.2112, allocations: 130.7 kB / 0.8067 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/0.2117, allocations: 183.7 kB / 0.8069 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.2148, allocations: 4.477 MB / 0.8113 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.2156, allocations: 107 kB / 0.8114 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.2156, allocations: 44 kB / 0.8114 GB, free: 15.39 MB / 0.6387 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.0002581/0.2159, allocations: 276.2 kB / 0.8117 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.216, allocations: 82.88 kB / 0.8118 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.2161, allocations: 76.53 kB / 0.8118 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2161, allocations: 12.05 kB / 0.8119 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2161, allocations: 0 / 0.8119 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2161, allocations: 4 kB / 0.8119 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006594/0.2168, allocations: 0.6647 MB / 0.8125 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2168, allocations: 0 / 0.8125 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.2171, allocations: 63.89 kB / 0.8126 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002663/0.2174, allocations: 106.5 kB / 0.8127 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.2175, allocations: 7.984 kB / 0.8127 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002849/0.2203, allocations: 4.458 MB / 0.817 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2203, allocations: 0 / 0.817 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009609/0.2213, allocations: 0.732 MB / 0.8178 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.2215, allocations: 211.9 kB / 0.818 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.2216, allocations: 11.94 kB / 0.818 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.2221, allocations: 23.97 kB / 0.818 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.2221, allocations: 27.95 kB / 0.818 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.2222, allocations: 8 kB / 0.818 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007243/0.2229, allocations: 0.6277 MB / 0.8186 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2229, allocations: 0 / 0.8186 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007032/0.2236, allocations: 263.8 kB / 0.8189 GB, free: 7.227 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 (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.001203/0.2248, allocations: 1.296 MB / 0.8202 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.2261, allocations: 0.9554 MB / 0.8211 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2261, allocations: 320 / 0.8211 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.2266, allocations: 0.5273 MB / 0.8216 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.2274, allocations: 174.5 kB / 0.8218 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008874/0.2363, allocations: 8.13 MB / 0.8297 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.2368, allocations: 0.9877 MB / 0.8307 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003325/0.2371, allocations: 149.9 kB / 0.8308 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.2375, allocations: 279.3 kB / 0.8311 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.2375, allocations: 0 / 0.8311 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.042/2.28, allocations: 17.06 MB / 0.8477 GB, free: 9.195 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.53/18.81, allocations: 13.62 kB / 0.8478 GB, free: 9.188 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/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)