Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.0007671/0.0007669, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008161/0.0008161, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.531/2.531, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8798/0.8802, allocations: 142.3 MB / 0.9538 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.002893/0.8832, allocations: 2.323 MB / 0.9561 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003583/0.8868, allocations: 2.587 MB / 0.9586 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.8871, allocations: 7.844 kB / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.8884, allocations: 447.9 kB / 0.9591 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005379/0.889, allocations: 220.6 kB / 0.9593 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009816/0.8899, allocations: 296.7 kB / 0.9596 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.8919, allocations: 1.563 MB / 0.9611 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.8922, allocations: 120.1 kB / 0.9612 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007758/0.893, allocations: 452.5 kB / 0.9616 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000605/0.8936, allocations: 383.2 kB / 0.962 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.117e-05/0.8937, allocations: 21 kB / 0.962 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-05/0.8938, allocations: 23.09 kB / 0.962 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.894, allocations: 238.2 kB / 0.9623 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.8942, allocations: 162.2 kB / 0.9624 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006263/0.8948, allocations: 0.715 MB / 0.9631 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.8949, allocations: 0.9062 kB / 0.9631 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8949, allocations: 0 / 0.9631 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.8949, allocations: 0 / 0.9631 GB, free: 1.59 MB / 0.7169 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.001677/0.8966, allocations: 1.04 MB / 0.9641 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.8966, allocations: 8.969 kB / 0.9641 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.916e-05/0.8967, allocations: 72.02 kB / 0.9642 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.8968, allocations: 76.44 kB / 0.9643 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009206/0.8978, allocations: 0.6182 MB / 0.9649 GB, free: 236 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.8978, allocations: 26.88 kB / 0.9649 GB, free: 224 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.8979, allocations: 46.03 kB / 0.965 GB, free: 204 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006171/0.8985, allocations: 375.5 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.8985, allocations: 1.094 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.8986, allocations: 10.25 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.8986, allocations: 10.42 kB / 0.9653 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.899, allocations: 241 kB / 0.9656 GB, free: 15.83 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.9028, allocations: 2.473 MB / 0.968 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.9038, allocations: 406.9 kB / 0.9684 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.904, allocations: 134.4 kB / 0.9685 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.9041, allocations: 2.406 kB / 0.9685 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.9041, allocations: 43.75 kB / 0.9685 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 2.023e-06/0.9041, allocations: 0 / 0.9685 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001132/0.9052, allocations: 0.539 MB / 0.9691 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.9053, allocations: 58.03 kB / 0.9691 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.9066, allocations: 0.9327 MB / 0.97 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.9067, allocations: 34.92 kB / 0.9701 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.9069, allocations: 297.1 kB / 0.9703 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.907, allocations: 75.83 kB / 0.9704 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.9071, allocations: 10.09 kB / 0.9704 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.9073, allocations: 380.4 kB / 0.9708 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.9077, allocations: 240.9 kB / 0.971 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.9082, allocations: 0.5035 MB / 0.9715 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.9087, allocations: 310 kB / 0.9718 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.9087, allocations: 3.5 kB / 0.9718 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001436/0.9101, allocations: 0.8116 MB / 0.9726 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.9102, allocations: 8.781 kB / 0.9726 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.9102, allocations: 14.3 kB / 0.9726 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.9104, allocations: 52.95 kB / 0.9727 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.9109, allocations: 147.2 kB / 0.9728 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.9122, allocations: 1.426 MB / 0.9742 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008332/0.9131, allocations: 129.1 kB / 0.9743 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.9131, allocations: 26.25 kB / 0.9744 GB, free: 9.051 MB / 0.7325 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.0005931/0.9137, allocations: 341 kB / 0.9747 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.9139, allocations: 62.62 kB / 0.9747 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.9141, allocations: 74.86 kB / 0.9748 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.9141, allocations: 6.75 kB / 0.9748 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.9141, allocations: 0 / 0.9748 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.9141, allocations: 5.172 kB / 0.9748 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009117/0.9151, allocations: 0.5747 MB / 0.9754 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9151, allocations: 0 / 0.9754 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.9153, allocations: 48.45 kB / 0.9754 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/0.9155, allocations: 51.11 kB / 0.9755 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.9155, allocations: 12.59 kB / 0.9755 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.9167, allocations: 1.409 MB / 0.9769 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.9167, allocations: 9.641 kB / 0.9769 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008842/0.9176, allocations: 0.5712 MB / 0.9774 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.9179, allocations: 208 kB / 0.9776 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.918, allocations: 7.984 kB / 0.9776 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.9184, allocations: 55.27 kB / 0.9777 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.9184, allocations: 10.42 kB / 0.9777 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.9184, allocations: 6.875 kB / 0.9777 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001022/0.9195, allocations: 0.6544 MB / 0.9784 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9195, allocations: 0 / 0.9784 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008832/0.9204, allocations: 182.2 kB / 0.9785 GB, free: 5.805 MB / 0.7325 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.001203/0.9216, allocations: 1.134 MB / 0.9796 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009502/0.9225, allocations: 0.5746 MB / 0.9802 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9226, allocations: 0 / 0.9802 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.9229, allocations: 250.5 kB / 0.9804 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008362/0.9237, allocations: 166.9 kB / 0.9806 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008503/0.9322, allocations: 5.313 MB / 0.9858 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.9329, allocations: 1.006 MB / 0.9868 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005009/0.9334, allocations: 184.5 kB / 0.9869 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.9337, allocations: 207.3 kB / 0.9871 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of SimCode: time 1.182e-06/0.9337, allocations: 0 / 0.9871 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.9634, allocations: 14.43 MB / 1.001 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.9636, allocations: 206.4 kB / 1.001 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.922, allocations: 0 / 1.001 GB, free: 14.48 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat does not exist to compare? outputFormat=mat