Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.0009622/0.0009622, allocations: 86.17 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.001167/0.001167, 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.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.414 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.446/2.446, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 8 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8805/0.8809, allocations: 142.3 MB / 0.9538 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002965/0.8839, allocations: 2.324 MB / 0.9561 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004127/0.8881, allocations: 2.583 MB / 0.9586 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.8886, allocations: 7.594 kB / 0.9586 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.8901, allocations: 447.8 kB / 0.9591 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005509/0.8907, allocations: 228 kB / 0.9593 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009224/0.8916, allocations: 289.6 kB / 0.9596 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00216/0.8938, allocations: 1.559 MB / 0.9611 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.894, allocations: 123.3 kB / 0.9612 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008431/0.8949, allocations: 452 kB / 0.9616 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.8955, allocations: 383.8 kB / 0.962 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.8955, allocations: 22.06 kB / 0.962 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.8957, allocations: 22.38 kB / 0.962 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.8959, allocations: 235 kB / 0.9623 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.8961, allocations: 161.9 kB / 0.9624 GB, free: 2 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006704/0.8968, allocations: 0.711 MB / 0.9631 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.8968, allocations: 2.438 kB / 0.9631 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.945e-06/0.8968, allocations: 0 / 0.9631 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.8968, allocations: 3.938 kB / 0.9631 GB, free: 1.547 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.001825/0.8987, allocations: 1.042 MB / 0.9641 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.8987, allocations: 10.25 kB / 0.9641 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.605e-05/0.8988, allocations: 63.34 kB / 0.9642 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.899, allocations: 76.59 kB / 0.9643 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009629/0.8999, allocations: 0.6259 MB / 0.9649 GB, free: 188 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.9, allocations: 27.56 kB / 0.9649 GB, free: 176 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/0.9, allocations: 41.53 kB / 0.965 GB, free: 160 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.9007, allocations: 379.6 kB / 0.9653 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.9007, allocations: 5.125 kB / 0.9653 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.9007, allocations: 10.06 kB / 0.9653 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.9008, allocations: 9.766 kB / 0.9653 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.9012, allocations: 246.3 kB / 0.9656 GB, free: 15.77 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.003736/0.9049, allocations: 2.469 MB / 0.968 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009895/0.9059, allocations: 392 kB / 0.9684 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.9062, allocations: 138.9 kB / 0.9685 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.9062, allocations: 5.312 kB / 0.9685 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.9062, allocations: 39.81 kB / 0.9685 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 2.484e-06/0.9062, allocations: 1.312 kB / 0.9685 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001125/0.9074, allocations: 0.5394 MB / 0.9691 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.9074, allocations: 57.62 kB / 0.9691 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.9089, allocations: 0.9316 MB / 0.97 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.9089, allocations: 35.67 kB / 0.9701 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.9092, allocations: 296 kB / 0.9703 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-05/0.9093, allocations: 73.3 kB / 0.9704 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.9093, allocations: 10.94 kB / 0.9704 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.9095, allocations: 379.7 kB / 0.9708 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.9099, allocations: 244.2 kB / 0.971 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/0.9105, allocations: 0.5 MB / 0.9715 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.911, allocations: 305.6 kB / 0.9718 GB, free: 11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.9111, allocations: 7.188 kB / 0.9718 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001305/0.9124, allocations: 0.8117 MB / 0.9726 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.9124, allocations: 9.75 kB / 0.9726 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.9124, allocations: 13.05 kB / 0.9726 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.9127, allocations: 56.84 kB / 0.9727 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.9132, allocations: 148.3 kB / 0.9728 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.9143, allocations: 1.43 MB / 0.9742 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/0.9152, allocations: 129 kB / 0.9743 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.9152, allocations: 30.88 kB / 0.9744 GB, free: 9 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.0004906/0.9157, allocations: 337.1 kB / 0.9747 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.9158, allocations: 62.81 kB / 0.9747 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.916, allocations: 70.8 kB / 0.9748 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.916, allocations: 6.25 kB / 0.9748 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.916, allocations: 0 / 0.9748 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.916, allocations: 1.094 kB / 0.9748 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.9168, allocations: 0.5785 MB / 0.9754 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.9168, allocations: 1.562 kB / 0.9754 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.917, allocations: 54.52 kB / 0.9754 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.9172, allocations: 36.11 kB / 0.9755 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.9172, allocations: 15.86 kB / 0.9755 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.9183, allocations: 1.418 MB / 0.9769 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9183, allocations: 4.062 kB / 0.9769 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.9192, allocations: 0.569 MB / 0.9774 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.9195, allocations: 208 kB / 0.9776 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/0.9195, allocations: 12.11 kB / 0.9776 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.9199, allocations: 56.19 kB / 0.9777 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.92, allocations: 13.42 kB / 0.9777 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.92, allocations: 7.5 kB / 0.9777 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001001/0.921, allocations: 0.6539 MB / 0.9784 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.921, allocations: 0 / 0.9784 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007983/0.9218, allocations: 182.2 kB / 0.9785 GB, free: 5.758 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.001138/0.923, allocations: 1.124 MB / 0.9796 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000982/0.924, allocations: 0.5783 MB / 0.9802 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.924, allocations: 0 / 0.9802 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.9243, allocations: 258.4 kB / 0.9804 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008557/0.9252, allocations: 162 kB / 0.9806 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008651/0.9338, allocations: 5.31 MB / 0.9858 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.9345, allocations: 1.01 MB / 0.9868 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005177/0.935, allocations: 188.4 kB / 0.9869 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.9353, allocations: 199.4 kB / 0.9871 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of SimCode: time 9.72e-07/0.9353, allocations: 0 / 0.9871 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.9654, allocations: 14.45 MB / 1.001 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.9656, allocations: 207.7 kB / 1.001 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.881, allocations: 0 / 1.001 GB, free: 14.41 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat does not exist to compare? outputFormat=mat