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.0007418/0.0007419, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00488/0.00488, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.347/1.347, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.67/1.67, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004895/0.0004894, allocations: 11.84 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1832, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003497/0.1867, allocations: 3.375 MB / 0.7913 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.1903, allocations: 2.535 MB / 0.7938 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.1905, allocations: 15.88 kB / 0.7938 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.1911, allocations: 226.8 kB / 0.794 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007722/0.1919, allocations: 469.2 kB / 0.7944 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008635/0.1927, allocations: 475.1 kB / 0.7949 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.1941, allocations: 1.624 MB / 0.7965 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.1943, allocations: 128.8 kB / 0.7966 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.1947, allocations: 374.4 kB / 0.797 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005851/0.1953, allocations: 0.5099 MB / 0.7974 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.1954, allocations: 32 kB / 0.7975 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.494e-05/0.1955, allocations: 36 kB / 0.7975 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.1958, allocations: 311 kB / 0.7978 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.1962, allocations: 455.3 kB / 0.7982 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006495/0.1968, allocations: 0.891 MB / 0.7991 GB, free: 28 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1968, allocations: 0 / 0.7991 GB, free: 28 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1968, allocations: 0 / 0.7991 GB, free: 28 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.1968, allocations: 0 / 0.7991 GB, free: 28 kB / 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.001868/0.1987, allocations: 1.14 MB / 0.8002 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1988, allocations: 12.03 kB / 0.8002 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.644e-05/0.1988, allocations: 70.72 kB / 0.8003 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.199, allocations: 103.7 kB / 0.8004 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008779/0.1998, allocations: 0.6597 MB / 0.801 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.1999, allocations: 37.03 kB / 0.8011 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.2, allocations: 60.12 kB / 0.8011 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.2006, allocations: 415 kB / 0.8015 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2006, allocations: 0 / 0.8015 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.2006, allocations: 12 kB / 0.8015 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2006, allocations: 12 kB / 0.8016 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.201, allocations: 242.4 kB / 0.8018 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.2038, allocations: 2.513 MB / 0.8042 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.2052, allocations: 0.5517 MB / 0.8048 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.2055, allocations: 168.7 kB / 0.8049 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.2055, allocations: 4 kB / 0.805 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.2055, allocations: 34.56 kB / 0.805 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 1.363e-06/0.2055, allocations: 0 / 0.805 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30): time 0.001535/0.2071, allocations: 0.9017 MB / 0.8059 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.2071, allocations: 55.41 kB / 0.8059 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.2082, allocations: 0.9232 MB / 0.8068 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.2082, allocations: 41.7 kB / 0.8069 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.2085, allocations: 364.8 kB / 0.8072 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2086, allocations: 122.3 kB / 0.8073 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.2087, allocations: 93.66 kB / 0.8074 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2088, allocations: 394.8 kB / 0.8078 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.2092, allocations: 245.8 kB / 0.808 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006108/0.2099, allocations: 0.6387 MB / 0.8086 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009854/0.2109, allocations: 0.899 MB / 0.8095 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.2109, allocations: 8 kB / 0.8095 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001525/0.2124, allocations: 1.018 MB / 0.8105 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2124, allocations: 12 kB / 0.8105 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.2125, allocations: 19.92 kB / 0.8106 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.2128, allocations: 130.6 kB / 0.8107 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/0.2134, allocations: 187.7 kB / 0.8109 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/0.2163, allocations: 4.153 MB / 0.8149 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008369/0.2172, allocations: 123 kB / 0.815 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.2173, allocations: 40 kB / 0.8151 GB, free: 14.4 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.0002755/0.2175, allocations: 269.4 kB / 0.8153 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.2177, allocations: 79.2 kB / 0.8154 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.2178, allocations: 80.5 kB / 0.8155 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2178, allocations: 7.938 kB / 0.8155 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2178, allocations: 0 / 0.8155 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2178, allocations: 8 kB / 0.8155 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.2185, allocations: 0.6531 MB / 0.8161 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2185, allocations: 0 / 0.8161 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.2189, allocations: 67.89 kB / 0.8162 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/0.2192, allocations: 106.5 kB / 0.8163 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.2192, allocations: 8 kB / 0.8163 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/0.222, allocations: 4.142 MB / 0.8204 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.222, allocations: 0 / 0.8204 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.2231, allocations: 0.7476 MB / 0.8211 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.2233, allocations: 207.9 kB / 0.8213 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/0.2234, allocations: 15.94 kB / 0.8213 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.2239, allocations: 27.91 kB / 0.8213 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.224, allocations: 23.91 kB / 0.8213 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.224, allocations: 11.98 kB / 0.8214 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007615/0.2247, allocations: 0.6161 MB / 0.822 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2248, allocations: 0 / 0.822 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007514/0.2255, allocations: 271.8 kB / 0.8222 GB, free: 6.574 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.001267/0.2268, allocations: 1.292 MB / 0.8235 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.228, allocations: 0.9315 MB / 0.8244 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.228, allocations: 0 / 0.8244 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.2286, allocations: 0.5325 MB / 0.8249 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008387/0.2294, allocations: 174.2 kB / 0.8251 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.2394, allocations: 8.482 MB / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.24, allocations: 0.9878 MB / 0.8343 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003678/0.2403, allocations: 157.8 kB / 0.8345 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.2407, allocations: 275.3 kB / 0.8347 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.2407, allocations: 0 / 0.8347 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2077/0.4484, allocations: 16.27 MB / 0.8506 GB, free: 9.043 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002976/0.4487, allocations: 227.6 kB / 0.8508 GB, free: 8.785 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.409, allocations: 2 kB / 0.8508 GB, free: 8.785 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)