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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.902/1.902, allocations: 289.9 MB / 297.4 MB, free: 6.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 176.9 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008514/0.0008514, allocations: 81.58 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.777e-05/1.801e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6591/0.6591, allocations: 116.3 MB / 0.9733 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1951/0.8543, allocations: 147.9 MB / 1.118 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.8546, allocations: 80.45 kB / 1.118 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1059/0.9606, allocations: 28.12 MB / 1.145 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9606, allocations: 0 / 1.145 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.565e-05/0.9607, allocations: 16 kB / 1.145 GB, free: 5.887 MB / 0.7448 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.001521/0.9622, allocations: 0.9503 MB / 1.146 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.9623, allocations: 8.031 kB / 1.146 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.9625, allocations: 105.2 kB / 1.146 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.9646, allocations: 1.042 MB / 1.147 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.9647, allocations: 15.94 kB / 1.147 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.9647, allocations: 47.86 kB / 1.147 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003644/0.9651, allocations: 189.5 kB / 1.148 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.9657, allocations: 347.3 kB / 1.148 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9657, allocations: 4 kB / 1.148 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.9657, allocations: 0 / 1.148 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.9657, allocations: 11.98 kB / 1.148 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.9688, allocations: 2.489 MB / 1.15 GB, free: 412 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.9702, allocations: 0.5263 MB / 1.151 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.9704, allocations: 143.9 kB / 1.151 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.9704, allocations: 0 / 1.151 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.9705, allocations: 50.53 kB / 1.151 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=30): time 1.323e-06/0.9705, allocations: 0 / 1.151 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30): time 0.0008606/0.9714, allocations: 431.3 kB / 1.152 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.9714, allocations: 55.41 kB / 1.152 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009796/0.9724, allocations: 0.7545 MB / 1.152 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.9724, allocations: 29.64 kB / 1.152 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.9728, allocations: 356.8 kB / 1.153 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.9729, allocations: 118.3 kB / 1.153 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.9729, allocations: 1.875 kB / 1.153 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.9731, allocations: 390.8 kB / 1.153 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.9735, allocations: 222.5 kB / 1.153 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/0.9741, allocations: 0.6015 MB / 1.154 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.9745, allocations: 319 kB / 1.154 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.9745, allocations: 4 kB / 1.154 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001385/0.9759, allocations: 0.8857 MB / 1.155 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.976, allocations: 12 kB / 1.155 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.976, allocations: 15.95 kB / 1.155 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000372/0.9764, allocations: 122.8 kB / 1.155 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.977, allocations: 187.7 kB / 1.155 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.9803, allocations: 4.041 MB / 1.159 GB, free: 6.555 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.9816, allocations: 115 kB / 1.16 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/0.9817, allocations: 40 kB / 1.16 GB, free: 6.402 MB / 0.7605 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 () * 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.000162/0.9818, allocations: 146.4 kB / 1.16 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000727/0.9826, allocations: 432.4 kB / 1.16 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.9827, allocations: 74.97 kB / 1.16 GB, free: 5.742 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.9829, allocations: 80.8 kB / 1.16 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.9829, allocations: 4 kB / 1.16 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9829, allocations: 1.188 kB / 1.16 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.9829, allocations: 1.781 kB / 1.16 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008291/0.9838, allocations: 0.6497 MB / 1.161 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.9838, allocations: 4 kB / 1.161 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.9841, allocations: 67.89 kB / 1.161 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/0.9844, allocations: 98.5 kB / 1.161 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.9844, allocations: 7.984 kB / 1.161 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.9876, allocations: 4.017 MB / 1.165 GB, free: 436 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.9876, allocations: 3.953 kB / 1.165 GB, free: 432 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.9885, allocations: 0.6894 MB / 1.166 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.9889, allocations: 216 kB / 1.166 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.115e-05/0.989, allocations: 4 kB / 1.166 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.9896, allocations: 35.88 kB / 1.166 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/0.9897, allocations: 23.97 kB / 1.166 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.9898, allocations: 8 kB / 1.166 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0008261/0.9906, allocations: 0.5498 MB / 1.166 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9906, allocations: 0 / 1.166 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001145/0.9918, allocations: 295.7 kB / 1.167 GB, free: 14.57 MB / 0.7761 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 () * 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.001493/0.9933, allocations: 1.301 MB / 1.168 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.9945, allocations: 0.8424 MB / 1.169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.9945, allocations: 0 / 1.169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000551/0.9951, allocations: 495.1 kB / 1.169 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007492/0.9959, allocations: 149.4 kB / 1.169 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.9985, allocations: 1.531 MB / 1.171 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.9991, allocations: 1.003 MB / 1.172 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004195/0.9995, allocations: 151.2 kB / 1.172 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/0.9999, allocations: 283.3 kB / 1.172 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of SimCode: time 4.2e-07/0.9999, allocations: 0 / 1.172 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04011/1.04, allocations: 15.41 MB / 1.187 GB, free: 9.578 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/1.04, allocations: 143.8 kB / 1.188 GB, free: 9.383 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/3.434, allocations: 0 / 1.188 GB, free: 9.383 MB / 0.7917 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)