Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.759/1.759, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001411/0.001411, allocations: 186.4 kB / 377.1 MB, free: 1.512 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.704/1.704, allocations: 205.4 MB / 0.6366 GB, free: 8.52 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.001201/0.001201, allocations: 95.27 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003213, allocations: 15.98 kB / 0.8748 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2282, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6391/0.8674, allocations: 151.7 MB / 1.137 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.8676, allocations: 83.27 kB / 1.137 GB, free: 25.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08785/0.9555, allocations: 28.18 MB / 1.164 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9555, allocations: 4 kB / 1.164 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.151e-05/0.9556, allocations: 15.98 kB / 1.164 GB, free: 2.57 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002906/0.9585, allocations: 1.18 MB / 1.165 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.9586, allocations: 16.02 kB / 1.165 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.441e-05/0.9587, allocations: 59.19 kB / 1.165 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.9589, allocations: 87.75 kB / 1.165 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.9612, allocations: 1.253 MB / 1.167 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.9612, allocations: 28.56 kB / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.9613, allocations: 36 kB / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007677/0.9621, allocations: 374.7 kB / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.9621, allocations: 0 / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.9622, allocations: 14.25 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.9622, allocations: 4 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/0.9627, allocations: 237.5 kB / 1.167 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.9662, allocations: 2.088 MB / 1.169 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.9673, allocations: 411.3 kB / 1.17 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.9673, allocations: 4.312 kB / 1.17 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.9673, allocations: 34.56 kB / 1.17 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.9673, allocations: 0 / 1.17 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.001047/0.9684, allocations: 0.5396 MB / 1.17 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.9684, allocations: 59.41 kB / 1.17 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.9697, allocations: 0.9133 MB / 1.171 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.9698, allocations: 38.73 kB / 1.171 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.97, allocations: 300.5 kB / 1.172 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.965e-05/0.9701, allocations: 63.02 kB / 1.172 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.9702, allocations: 12 kB / 1.172 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.9703, allocations: 378.8 kB / 1.172 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.9707, allocations: 236.9 kB / 1.172 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.9712, allocations: 0.4897 MB / 1.173 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.9716, allocations: 303.7 kB / 1.173 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.9716, allocations: 4 kB / 1.173 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001185/0.9728, allocations: 0.8006 MB / 1.174 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.9729, allocations: 12 kB / 1.174 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.9729, allocations: 9.031 kB / 1.174 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.9731, allocations: 56.75 kB / 1.174 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.9736, allocations: 144.1 kB / 1.174 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.9748, allocations: 1.447 MB / 1.175 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00095/0.9757, allocations: 199 kB / 1.176 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.9758, allocations: 29.17 kB / 1.176 GB, free: 6.195 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004067/0.9762, allocations: 346 kB / 1.176 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.9763, allocations: 63.2 kB / 1.176 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.9764, allocations: 70.09 kB / 1.176 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.9764, allocations: 4 kB / 1.176 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9764, allocations: 0.6875 kB / 1.176 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.9765, allocations: 0.8438 kB / 1.176 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/0.9772, allocations: 0.6688 MB / 1.177 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9772, allocations: 0 / 1.177 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.9775, allocations: 49.89 kB / 1.177 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.9776, allocations: 44.78 kB / 1.177 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.9776, allocations: 19.92 kB / 1.177 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.9787, allocations: 1.424 MB / 1.178 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9787, allocations: 0 / 1.178 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/0.9794, allocations: 0.5713 MB / 1.179 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/0.9798, allocations: 355.7 kB / 1.179 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.9799, allocations: 17.98 kB / 1.179 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/0.9805, allocations: 79.86 kB / 1.179 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.9805, allocations: 19.97 kB / 1.179 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.9806, allocations: 4 kB / 1.179 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008803/0.9815, allocations: 0.6902 MB / 1.18 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9815, allocations: 0 / 1.18 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006797/0.9821, allocations: 195.8 kB / 1.18 GB, free: 1.348 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001182/0.9833, allocations: 1.186 MB / 1.181 GB, free: 136 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008803/0.9842, allocations: 0.5729 MB / 1.182 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9842, allocations: 0 / 1.182 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.9846, allocations: 253.4 kB / 1.182 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.9852, allocations: 160.8 kB / 1.182 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.9904, allocations: 8.594 MB / 1.191 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.991, allocations: 1.016 MB / 1.192 GB, free: 5.277 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004022/0.9914, allocations: 185.4 kB / 1.192 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.9917, allocations: 211.4 kB / 1.192 GB, free: 4.891 MB / 0.7605 GB Notification: Performance of SimCode: time 3.2e-07/0.9917, allocations: 0 / 1.192 GB, free: 4.891 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/1.02, allocations: 15.5 MB / 1.207 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/1.02, allocations: 204 kB / 1.207 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/3.32, allocations: 0 / 1.207 GB, free: 5.426 MB / 0.7761 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)