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.001344/0.001343, allocations: 98.69 kB / 15.05 MB, free: 1.105 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.001545/0.001545, allocations: 177.3 kB / 15.95 MB, free: 216 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.369/1.369, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.381/2.381, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 8 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8876/0.888, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.002841/0.8909, allocations: 2.197 MB / 0.9557 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003805/0.8947, allocations: 2.53 MB / 0.9582 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000358/0.8951, allocations: 6.969 kB / 0.9582 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.8966, allocations: 0.5089 MB / 0.9587 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005133/0.8971, allocations: 189.6 kB / 0.9589 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009379/0.898, allocations: 281.6 kB / 0.9592 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.8992, allocations: 0.8589 MB / 0.96 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.8994, allocations: 127.5 kB / 0.9601 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004632/0.8999, allocations: 290.2 kB / 0.9604 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004161/0.9003, allocations: 281.9 kB / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.9004, allocations: 19.94 kB / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-05/0.9005, allocations: 21.94 kB / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.9008, allocations: 230 kB / 0.9609 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.901, allocations: 161.9 kB / 0.9611 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006614/0.9017, allocations: 0.7156 MB / 0.9618 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.9017, allocations: 0 / 0.9618 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9017, allocations: 0 / 0.9618 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.9017, allocations: 0 / 0.9618 GB, free: 2.121 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.001926/0.9037, allocations: 1.047 MB / 0.9628 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.9037, allocations: 13.56 kB / 0.9628 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.818e-05/0.9038, allocations: 59.84 kB / 0.9629 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.904, allocations: 81.33 kB / 0.9629 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.905, allocations: 0.6176 MB / 0.9635 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.905, allocations: 28.5 kB / 0.9636 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.9051, allocations: 46.28 kB / 0.9636 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/0.9057, allocations: 372.2 kB / 0.964 GB, free: 492 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.9057, allocations: 3.938 kB / 0.964 GB, free: 488 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.9057, allocations: 6.562 kB / 0.964 GB, free: 484 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.9057, allocations: 14.27 kB / 0.964 GB, free: 476 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.9061, allocations: 238.1 kB / 0.9642 GB, free: 364 kB / 0.7169 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.003749/0.9099, allocations: 2.472 MB / 0.9666 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/0.9109, allocations: 400.1 kB / 0.967 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.9109, allocations: 5.891 kB / 0.967 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.9109, allocations: 35.59 kB / 0.9671 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/0.9109, allocations: 1 kB / 0.9671 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001005/0.9119, allocations: 0.5423 MB / 0.9676 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.912, allocations: 57.36 kB / 0.9676 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.9133, allocations: 0.9286 MB / 0.9686 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.9134, allocations: 35.05 kB / 0.9686 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.9136, allocations: 305 kB / 0.9689 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.09e-05/0.9137, allocations: 67.84 kB / 0.9689 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.9138, allocations: 10.34 kB / 0.9689 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.9139, allocations: 380.1 kB / 0.9693 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.9143, allocations: 240.8 kB / 0.9695 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/0.9149, allocations: 0.4982 MB / 0.97 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.9154, allocations: 305.1 kB / 0.9703 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-06/0.9154, allocations: 3.156 kB / 0.9703 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001326/0.9168, allocations: 0.8126 MB / 0.9711 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.9168, allocations: 14.12 kB / 0.9711 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.9168, allocations: 9.562 kB / 0.9711 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/0.9171, allocations: 57.27 kB / 0.9712 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.9175, allocations: 143.4 kB / 0.9713 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.9188, allocations: 1.448 MB / 0.9727 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/0.9196, allocations: 125 kB / 0.9729 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.9197, allocations: 30.88 kB / 0.9729 GB, free: 9.645 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.0004985/0.9202, allocations: 341.1 kB / 0.9732 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/0.9203, allocations: 63.19 kB / 0.9733 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.9204, allocations: 74.36 kB / 0.9733 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.9204, allocations: 1.938 kB / 0.9734 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.9204, allocations: 8.938 kB / 0.9734 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9205, allocations: 0 / 0.9734 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007417/0.9212, allocations: 0.579 MB / 0.9739 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9212, allocations: 4.844 kB / 0.9739 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.9215, allocations: 47.42 kB / 0.974 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/0.9216, allocations: 40.45 kB / 0.974 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.9216, allocations: 7.875 kB / 0.974 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.9228, allocations: 1.439 MB / 0.9754 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9228, allocations: 0 / 0.9754 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.9236, allocations: 0.5751 MB / 0.976 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.9239, allocations: 192.9 kB / 0.9762 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/0.924, allocations: 15.72 kB / 0.9762 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.9244, allocations: 55.3 kB / 0.9762 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.9245, allocations: 10.08 kB / 0.9762 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.9245, allocations: 7.406 kB / 0.9763 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000938/0.9254, allocations: 0.6583 MB / 0.9769 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9254, allocations: 0 / 0.9769 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007444/0.9262, allocations: 182.9 kB / 0.9771 GB, free: 6.391 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.001101/0.9273, allocations: 1.122 MB / 0.9782 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009701/0.9283, allocations: 0.5781 MB / 0.9787 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.9283, allocations: 1.219 kB / 0.9787 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.9286, allocations: 257.1 kB / 0.979 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007093/0.9294, allocations: 163.9 kB / 0.9791 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/0.9348, allocations: 8.588 MB / 0.9875 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.9355, allocations: 1.022 MB / 0.9885 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005351/0.936, allocations: 188.5 kB / 0.9887 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.9363, allocations: 203.4 kB / 0.9889 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.9364, allocations: 0 / 0.9889 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.9663, allocations: 14.05 MB / 1.003 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.9665, allocations: 200.4 kB / 1.003 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.914, allocations: 0 / 1.003 GB, free: 12.77 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