Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.001392/0.001392, allocations: 99.86 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.001691/0.001691, allocations: 177.3 kB / 15.94 MB, free: 228 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.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.469 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.378/2.378, allocations: 390.3 MB / 0.6653 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005736/0.0005739, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8739/0.8746, allocations: 142.3 MB / 0.9536 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003224/0.8778, allocations: 2.202 MB / 0.9557 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003877/0.8817, allocations: 2.53 MB / 0.9582 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.8821, allocations: 7.219 kB / 0.9582 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.8834, allocations: 0.5132 MB / 0.9587 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.8838, allocations: 184.2 kB / 0.9589 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.8846, allocations: 293.8 kB / 0.9592 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.8856, allocations: 0.8551 MB / 0.96 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.8859, allocations: 127.5 kB / 0.9601 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.8863, allocations: 293 kB / 0.9604 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.8866, allocations: 278.1 kB / 0.9607 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.8867, allocations: 20.38 kB / 0.9607 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.51e-05/0.8868, allocations: 21.03 kB / 0.9607 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.887, allocations: 234.7 kB / 0.9609 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.8872, allocations: 162 kB / 0.9611 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.8877, allocations: 0.711 MB / 0.9618 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.8877, allocations: 1.344 kB / 0.9618 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8877, allocations: 0 / 0.9618 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.8878, allocations: 0 / 0.9618 GB, free: 2.223 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.001657/0.8894, allocations: 1.046 MB / 0.9628 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.8895, allocations: 9.969 kB / 0.9628 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/0.8895, allocations: 62.78 kB / 0.9629 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.8896, allocations: 81.58 kB / 0.9629 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009017/0.8906, allocations: 0.6197 MB / 0.9636 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.8906, allocations: 27.81 kB / 0.9636 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.8906, allocations: 38.88 kB / 0.9636 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.8911, allocations: 377.9 kB / 0.964 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.8911, allocations: 4.906 kB / 0.964 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.8912, allocations: 10.59 kB / 0.964 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.8912, allocations: 10.42 kB / 0.964 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.8916, allocations: 236.8 kB / 0.9642 GB, free: 468 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.003997/0.8956, allocations: 2.469 MB / 0.9666 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.8966, allocations: 404.1 kB / 0.967 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.8967, allocations: 6.078 kB / 0.967 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.8967, allocations: 31.5 kB / 0.9671 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.853e-06/0.8967, allocations: 4 kB / 0.9671 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.00121/0.8979, allocations: 0.5392 MB / 0.9676 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.898, allocations: 57.39 kB / 0.9676 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.8995, allocations: 0.9318 MB / 0.9686 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.8996, allocations: 36.36 kB / 0.9686 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.8999, allocations: 295.9 kB / 0.9689 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.9, allocations: 68.34 kB / 0.9689 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.9, allocations: 10.81 kB / 0.9689 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002443/0.9003, allocations: 380.4 kB / 0.9693 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.9007, allocations: 240.7 kB / 0.9695 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/0.9015, allocations: 0.4975 MB / 0.97 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.9021, allocations: 308.9 kB / 0.9703 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.9021, allocations: 3.906 kB / 0.9703 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001677/0.9038, allocations: 0.8163 MB / 0.9711 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.9038, allocations: 8.625 kB / 0.9711 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.9038, allocations: 9.562 kB / 0.9711 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.9042, allocations: 61.64 kB / 0.9712 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/0.9048, allocations: 139.2 kB / 0.9713 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.9067, allocations: 1.452 MB / 0.9727 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009306/0.9076, allocations: 128.7 kB / 0.9729 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.9077, allocations: 27.34 kB / 0.9729 GB, free: 9.746 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.0005647/0.9082, allocations: 341.2 kB / 0.9732 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.9083, allocations: 61.97 kB / 0.9733 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.9085, allocations: 75.02 kB / 0.9734 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.9085, allocations: 6.75 kB / 0.9734 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9085, allocations: 0 / 0.9734 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.9085, allocations: 0 / 0.9734 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008172/0.9094, allocations: 0.584 MB / 0.9739 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9094, allocations: 0 / 0.9739 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.9096, allocations: 51.17 kB / 0.974 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/0.9098, allocations: 36.86 kB / 0.974 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.9098, allocations: 7.75 kB / 0.974 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.9113, allocations: 1.43 MB / 0.9754 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9113, allocations: 0 / 0.9754 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009872/0.9123, allocations: 0.5759 MB / 0.976 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.9127, allocations: 195.7 kB / 0.9762 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/0.9128, allocations: 11.97 kB / 0.9762 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.9132, allocations: 56.86 kB / 0.9762 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.9132, allocations: 12.77 kB / 0.9762 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.9133, allocations: 7.25 kB / 0.9762 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001065/0.9143, allocations: 0.6551 MB / 0.9769 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9143, allocations: 0 / 0.9769 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008877/0.9152, allocations: 182.2 kB / 0.9771 GB, free: 6.504 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.001308/0.9166, allocations: 1.129 MB / 0.9782 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.9177, allocations: 0.5768 MB / 0.9787 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.9177, allocations: 0.75 kB / 0.9787 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.9182, allocations: 258.9 kB / 0.979 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008368/0.919, allocations: 162.6 kB / 0.9791 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/0.925, allocations: 8.585 MB / 0.9875 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/0.9257, allocations: 1.034 MB / 0.9885 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005273/0.9262, allocations: 180.5 kB / 0.9887 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/0.9266, allocations: 199.4 kB / 0.9889 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of SimCode: time 1.343e-06/0.9266, allocations: 4 kB / 0.9889 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.9557, allocations: 14.05 MB / 1.003 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.956, allocations: 200.6 kB / 1.003 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.986, allocations: 4 kB / 1.003 GB, free: 12.75 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat does not exist to compare? outputFormat=mat