Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01091/0.01092, allocations: 102.6 kB / 15.05 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001173/0.001174, allocations: 170.8 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.641/1.641, allocations: 170.9 MB / 187.6 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2564/0.2564, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004546, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/0.09429, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1): time 0.1022/0.1965, allocations: 59.9 MB / 432.2 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3216/0.5182, allocations: 24 MB / 456.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.5203, allocations: 44.22 kB / 456.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003137/0.5234, allocations: 0.7257 MB / 457 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02058/0.544, allocations: 4.581 MB / 461.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01624/0.5603, allocations: 3.71 MB / 465.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004938/0.5653, allocations: 2.183 MB / 467.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.5671, allocations: 0.8327 MB / 468.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.5785, allocations: 3.964 MB / 472.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/0.5808, allocations: 0.7993 MB / 473 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.5812, allocations: 72.03 kB / 473.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02/0.6012, allocations: 6.812 MB / 479.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008337/0.6021, allocations: 380.4 kB / 480.3 MB, free: 9.273 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007629/0.6029, allocations: 325.6 kB / 480.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009866/0.6128, allocations: 3.957 MB / 484.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6129, allocations: 0 / 484.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6129, allocations: 4 kB / 484.6 MB, free: 5.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.19e-05/0.6129, allocations: 0 / 484.6 MB, free: 5.645 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.007334/0.6203, allocations: 2.091 MB / 486.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.6203, allocations: 12.03 kB / 486.7 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004237/0.6208, allocations: 211.2 kB / 486.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007821/0.6286, allocations: 0.703 MB / 487.6 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.6309, allocations: 0.866 MB / 488.4 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.6312, allocations: 225.3 kB / 488.7 MB, free: 1.465 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/0.6315, allocations: 128.1 kB / 488.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007909/0.6394, allocations: 2.268 MB / 491.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.07e-05/0.6395, allocations: 7.938 kB / 491.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.6398, allocations: 64 kB / 491.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.752e-05/0.6399, allocations: 54.08 kB / 491.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009073/0.649, allocations: 2.047 MB / 493.2 MB, free: 12.71 MB / 346.7 MB 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.01833/0.6673, allocations: 10.58 MB / 0.492 GB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005866/0.6732, allocations: 1.152 MB / 0.4931 GB, free: 284 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07314/0.7464, allocations: 19.36 MB / 0.512 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/0.7465, allocations: 52.02 kB / 0.5121 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008469/0.7474, allocations: 106.8 kB / 0.5122 GB, free: 10.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=88): time 3.326e-06/0.7474, allocations: 0 / 0.5122 GB, free: 10.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.02007/0.7675, allocations: 3.846 MB / 0.5159 GB, free: 6.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/0.7676, allocations: 171.2 kB / 0.5161 GB, free: 6.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.7692, allocations: 0.8792 MB / 0.517 GB, free: 5.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.7694, allocations: 45.7 kB / 0.517 GB, free: 5.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006537/0.7701, allocations: 0.6852 MB / 0.5177 GB, free: 5.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.7705, allocations: 345.5 kB / 0.518 GB, free: 4.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.7706, allocations: 32 kB / 0.518 GB, free: 4.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.7709, allocations: 422.7 kB / 0.5184 GB, free: 4.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/0.7729, allocations: 479.7 kB / 0.5189 GB, free: 3.809 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/0.7754, allocations: 1.17 MB / 0.52 GB, free: 2.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.7778, allocations: 0.653 MB / 0.5207 GB, free: 1.672 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/0.7779, allocations: 4 kB / 0.5207 GB, free: 1.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00611/0.784, allocations: 1.784 MB / 0.5224 GB, free: 15.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003417/0.7874, allocations: 8.969 MB / 0.5312 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-05/0.7876, allocations: 24 kB / 0.5312 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009356/0.7885, allocations: 145.6 kB / 0.5313 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/0.7916, allocations: 427.5 kB / 0.5318 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.7928, allocations: 1.206 MB / 0.5329 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.7951, allocations: 155.9 kB / 0.5331 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/0.7953, allocations: 99.92 kB / 0.5332 GB, free: 4.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7953, allocations: 7.953 kB / 0.5332 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00577/0.8011, allocations: 1.646 MB / 0.5348 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.39e-05/0.8012, allocations: 20 kB / 0.5348 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007846/0.802, allocations: 137.6 kB / 0.5349 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002848/0.8049, allocations: 431.5 kB / 0.5354 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.806, allocations: 1.21 MB / 0.5365 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.8082, allocations: 155.9 kB / 0.5367 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.8084, allocations: 91.98 kB / 0.5368 GB, free: 364 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 18 (sink2.medium.phase,sink1.medium.phase,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[2],volume1.inFlow[1],orifice2.state_b.phase,orifice2.state_a.phase,orifice1.state_b.phase,orifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.8094, allocations: 460.4 kB / 0.5372 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/0.8098, allocations: 114.6 kB / 0.5373 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/0.8199, allocations: 4.83 MB / 0.542 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.033e-05/0.8201, allocations: 71.84 kB / 0.5421 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.8201, allocations: 4 kB / 0.5421 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/0.8201, allocations: 11.91 kB / 0.5421 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.8337, allocations: 6.792 MB / 0.5488 GB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.8338, allocations: 4 kB / 0.5488 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/0.8358, allocations: 255.7 kB / 0.549 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.8371, allocations: 185.4 kB / 0.5492 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.8372, allocations: 27.98 kB / 0.5492 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.8383, allocations: 1.234 MB / 0.5504 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.8383, allocations: 0 / 0.5504 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009286/0.8476, allocations: 4.003 MB / 0.5543 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.8488, allocations: 441.5 kB / 0.5547 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003229/0.8491, allocations: 28 kB / 0.5548 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/0.8508, allocations: 119.6 kB / 0.5549 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.8511, allocations: 84.86 kB / 0.555 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/0.8513, allocations: 47.91 kB / 0.555 GB, free: 13.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001273/0.8526, allocations: 0.6221 MB / 0.5556 GB, free: 12.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8526, allocations: 0 / 0.5556 GB, free: 12.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006588/0.8592, allocations: 1.496 MB / 0.5571 GB, free: 11.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 40 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0174/0.8766, allocations: 5.751 MB / 0.5627 GB, free: 5.609 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009187/0.8859, allocations: 2.682 MB / 0.5653 GB, free: 2.934 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.8859, allocations: 4 kB / 0.5653 GB, free: 2.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003439/0.8894, allocations: 1.32 MB / 0.5666 GB, free: 1.613 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004705/0.8941, allocations: 0.4993 MB / 0.5671 GB, free: 1.117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03354/0.9277, allocations: 25.78 MB / 0.5923 GB, free: 6.684 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.9293, allocations: 1.559 MB / 0.5938 GB, free: 5.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005139/0.9345, allocations: 1.582 MB / 0.5953 GB, free: 3.504 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/0.9362, allocations: 0.8156 MB / 0.5961 GB, free: 2.688 MB / 458.7 MB Notification: Performance of SimCode: time 1.022e-06/0.9362, allocations: 4 kB / 0.5961 GB, free: 2.684 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4495/1.386, allocations: 71.18 MB / 0.6657 GB, free: 125.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/1.386, allocations: 260.2 kB / 0.6659 GB, free: 125.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.248/8.634, allocations: 3.938 kB / 0.6659 GB, free: 125.6 MB / 458.7 MB