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.001074/0.001074, 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.001093/0.001093, 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.425/1.425, allocations: 223.2 MB / 239.9 MB, free: 5.461 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.416/2.416, allocations: 390.3 MB / 0.6653 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004233, allocations: 12 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8467/0.8472, allocations: 142.3 MB / 0.9536 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002717/0.8499, allocations: 2.201 MB / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003694/0.8537, allocations: 2.535 MB / 0.9582 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.8541, allocations: 7.094 kB / 0.9582 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.8559, allocations: 0.5097 MB / 0.9587 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007592/0.8567, allocations: 184.6 kB / 0.9589 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.8578, allocations: 292.2 kB / 0.9592 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.8594, allocations: 0.8623 MB / 0.96 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.8597, allocations: 124.9 kB / 0.9601 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006672/0.8604, allocations: 284.9 kB / 0.9604 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/0.8609, allocations: 285.5 kB / 0.9607 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.861, allocations: 20.59 kB / 0.9607 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.93e-05/0.8611, allocations: 21.91 kB / 0.9607 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.8614, allocations: 230.3 kB / 0.9609 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.8617, allocations: 165.4 kB / 0.9611 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008062/0.8625, allocations: 0.7119 MB / 0.9618 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8625, allocations: 0 / 0.9618 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.367e-06/0.8625, allocations: 0 / 0.9618 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.8625, allocations: 1.125 kB / 0.9618 GB, free: 2.215 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.002358/0.8649, allocations: 1.042 MB / 0.9628 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.697e-05/0.865, allocations: 9.938 kB / 0.9628 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.8651, allocations: 67.3 kB / 0.9629 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.8653, allocations: 77.56 kB / 0.9629 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.8666, allocations: 0.6186 MB / 0.9636 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.8667, allocations: 27.44 kB / 0.9636 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.8667, allocations: 42.75 kB / 0.9636 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.8674, allocations: 371.5 kB / 0.964 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.8675, allocations: 5.188 kB / 0.964 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.8675, allocations: 10.38 kB / 0.964 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.8675, allocations: 8.984 kB / 0.964 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.868, allocations: 238.3 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.00478/0.8728, allocations: 2.473 MB / 0.9666 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.8739, allocations: 405.3 kB / 0.967 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.8739, allocations: 2.094 kB / 0.967 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.8739, allocations: 31.5 kB / 0.9671 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/0.874, allocations: 1.062 kB / 0.9671 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001237/0.8752, allocations: 0.5344 MB / 0.9676 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.8753, allocations: 61.39 kB / 0.9676 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.8768, allocations: 0.9358 MB / 0.9686 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.8768, allocations: 36.52 kB / 0.9686 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.8771, allocations: 295.6 kB / 0.9689 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.8772, allocations: 76.52 kB / 0.9689 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.8773, allocations: 10.62 kB / 0.969 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.8774, allocations: 376.5 kB / 0.9693 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.8778, allocations: 236.3 kB / 0.9695 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.8784, allocations: 0.4985 MB / 0.97 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.879, allocations: 309.3 kB / 0.9703 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.879, allocations: 6.25 kB / 0.9703 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001819/0.8808, allocations: 0.8137 MB / 0.9711 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.8809, allocations: 8.656 kB / 0.9711 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.8809, allocations: 9.812 kB / 0.9711 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/0.8813, allocations: 60.52 kB / 0.9712 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/0.8821, allocations: 144.2 kB / 0.9713 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.8838, allocations: 1.451 MB / 0.9728 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009192/0.8847, allocations: 124.8 kB / 0.9729 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.8848, allocations: 31.31 kB / 0.9729 GB, free: 9.742 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.0005035/0.8853, allocations: 341.7 kB / 0.9732 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.8854, allocations: 62.12 kB / 0.9733 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.8856, allocations: 75.2 kB / 0.9734 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.8856, allocations: 2.375 kB / 0.9734 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8856, allocations: 0 / 0.9734 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.8856, allocations: 1.188 kB / 0.9734 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007868/0.8864, allocations: 0.5788 MB / 0.9739 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.8864, allocations: 4 kB / 0.9739 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.8867, allocations: 51.33 kB / 0.974 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.8868, allocations: 40.48 kB / 0.974 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.8868, allocations: 8.641 kB / 0.974 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.8881, allocations: 1.435 MB / 0.9754 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.8881, allocations: 3.984 kB / 0.9754 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008846/0.889, allocations: 0.5709 MB / 0.976 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.8893, allocations: 195.5 kB / 0.9762 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.339e-05/0.8894, allocations: 16.25 kB / 0.9762 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.8898, allocations: 51.45 kB / 0.9762 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.8899, allocations: 18.92 kB / 0.9763 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.8899, allocations: 6.656 kB / 0.9763 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001064/0.891, allocations: 0.6541 MB / 0.9769 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.891, allocations: 0 / 0.9769 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008508/0.8919, allocations: 182.8 kB / 0.9771 GB, free: 6.492 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.001331/0.8932, allocations: 1.131 MB / 0.9782 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.8943, allocations: 0.5795 MB / 0.9787 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8943, allocations: 0 / 0.9787 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.8947, allocations: 259.3 kB / 0.979 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007891/0.8955, allocations: 156.8 kB / 0.9791 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006306/0.9018, allocations: 8.593 MB / 0.9875 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/0.9025, allocations: 1.022 MB / 0.9885 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005214/0.9031, allocations: 184.5 kB / 0.9887 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.9034, allocations: 207.4 kB / 0.9889 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of SimCode: time 2.174e-06/0.9034, allocations: 0 / 0.9889 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.9331, 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.0002221/0.9334, allocations: 206.4 kB / 1.003 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.989, allocations: 0 / 1.003 GB, free: 12.77 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