Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01104/0.01105, allocations: 108.1 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001247/0.001247, allocations: 183.1 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.94/1.94, allocations: 194.6 MB / 211.3 MB, free: 10.95 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.287/0.287, allocations: 40.04 MB / 296.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.000467, allocations: 16 kB / 361.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 54.88 MB / 416 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.4187/0.5367, allocations: 63.02 MB / 479 MB, free: 30.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04961/0.5864, allocations: 28.41 MB / 0.4956 GB, free: 10.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.5892, allocations: 53.22 kB / 0.4956 GB, free: 10.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004769/0.594, allocations: 0.9126 MB / 0.4965 GB, free: 9.824 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02211/0.6162, allocations: 3.988 MB / 0.5004 GB, free: 7.707 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02691/0.6431, allocations: 5.305 MB / 0.5056 GB, free: 4.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007308/0.6504, allocations: 2.996 MB / 0.5085 GB, free: 3.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002388/0.6529, allocations: 1.068 MB / 0.5096 GB, free: 2.969 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02134/0.6743, allocations: 7.159 MB / 0.5165 GB, free: 1.762 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.6773, allocations: 1.05 MB / 0.5176 GB, free: 1.355 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006575/0.678, allocations: 100.5 kB / 0.5177 GB, free: 1.355 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02135/0.6994, allocations: 6.99 MB / 0.5245 GB, free: 14.48 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.701, allocations: 0.5771 MB / 0.5251 GB, free: 13.95 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.7021, allocations: 408.8 kB / 0.5254 GB, free: 13.54 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.7145, allocations: 4.576 MB / 0.5299 GB, free: 8.953 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7146, allocations: 0 / 0.5299 GB, free: 8.953 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.7146, allocations: 0 / 0.5299 GB, free: 8.953 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.872e-05/0.7147, allocations: 0 / 0.5299 GB, free: 8.953 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.009543/0.7243, allocations: 2.462 MB / 0.5323 GB, free: 6.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.7243, allocations: 11.97 kB / 0.5323 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008621/0.7252, allocations: 265.2 kB / 0.5326 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009232/0.7345, allocations: 0.8408 MB / 0.5334 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/0.7378, allocations: 1.052 MB / 0.5344 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006282/0.7385, allocations: 460.4 kB / 0.5349 GB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005452/0.739, allocations: 175.9 kB / 0.535 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.7503, allocations: 3.172 MB / 0.5381 GB, free: 108 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-05/0.7504, allocations: 11.88 kB / 0.5381 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003607/0.7508, allocations: 87.98 kB / 0.5382 GB, free: 8 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/0.751, allocations: 82.66 kB / 0.5383 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.7629, allocations: 2.794 MB / 0.541 GB, free: 13.12 MB / 410.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.03384/0.7968, allocations: 15.53 MB / 0.5562 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009904/0.8068, allocations: 1.29 MB / 0.5575 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09125/0.898, allocations: 18.58 MB / 0.5756 GB, free: 7.109 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.356e-05/0.8981, allocations: 43.56 kB / 0.5757 GB, free: 7.059 MB / 442.7 MB Notification: Performance of pre-optimization done (n=101): time 3.426e-06/0.8982, allocations: 0 / 0.5757 GB, free: 7.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=117): time 0.03396/0.9321, allocations: 4.944 MB / 0.5805 GB, free: 2.047 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.9323, allocations: 171.2 kB / 0.5806 GB, free: 1.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.9346, allocations: 1.207 MB / 0.5818 GB, free: 0.625 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.9348, allocations: 49.7 kB / 0.5819 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009987/0.9359, allocations: 0.9742 MB / 0.5828 GB, free: 15.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005378/0.9364, allocations: 422.2 kB / 0.5832 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.9366, allocations: 48 kB / 0.5833 GB, free: 15.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003262/0.9369, allocations: 459.5 kB / 0.5837 GB, free: 14.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/0.9394, allocations: 0.641 MB / 0.5843 GB, free: 14.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003729/0.9432, allocations: 1.945 MB / 0.5862 GB, free: 11.42 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00333/0.9466, allocations: 0.9902 MB / 0.5872 GB, free: 10.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.178e-05/0.9466, allocations: 16 kB / 0.5872 GB, free: 10.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.008965/0.9556, allocations: 2.777 MB / 0.5899 GB, free: 7.617 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/0.9557, allocations: 24 kB / 0.59 GB, free: 7.594 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.821e-05/0.9558, allocations: 44 kB / 0.59 GB, free: 7.551 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002/0.9578, allocations: 418.5 kB / 0.5904 GB, free: 7.133 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003336/0.9612, allocations: 0.542 MB / 0.5909 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/0.9643, allocations: 2.729 MB / 0.5936 GB, free: 3.758 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/0.9672, allocations: 199.8 kB / 0.5938 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/0.9675, allocations: 148 kB / 0.5939 GB, free: 3.418 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.9687, allocations: 0.5423 MB / 0.5945 GB, free: 2.867 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/0.9691, allocations: 154.2 kB / 0.5946 GB, free: 2.715 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.98, allocations: 4.683 MB / 0.5992 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.947e-05/0.9802, allocations: 51.92 kB / 0.5992 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.9802, allocations: 0 / 0.5992 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.286e-05/0.9802, allocations: 7.938 kB / 0.5992 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.9959, allocations: 6.836 MB / 0.6059 GB, free: 6.953 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.9959, allocations: 4 kB / 0.6059 GB, free: 6.949 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/0.9977, allocations: 248.5 kB / 0.6061 GB, free: 6.707 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/0.9997, allocations: 411 kB / 0.6065 GB, free: 6.293 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/0.9998, allocations: 27.98 kB / 0.6066 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003397/1.003, allocations: 2.764 MB / 0.6093 GB, free: 3.398 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/1.003, allocations: 11.25 kB / 0.6093 GB, free: 3.391 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/1.013, allocations: 4.123 MB / 0.6133 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.015, allocations: 445.6 kB / 0.6137 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/1.015, allocations: 27.98 kB / 0.6138 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.017, allocations: 119.8 kB / 0.6139 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/1.017, allocations: 104.8 kB / 0.614 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.017, allocations: 39.98 kB / 0.614 GB, free: 14.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001712/1.019, allocations: 0.8227 MB / 0.6148 GB, free: 13.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.019, allocations: 0 / 0.6148 GB, free: 13.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005666/1.024, allocations: 1.382 MB / 0.6162 GB, free: 12.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01775/1.042, allocations: 6.661 MB / 0.6227 GB, free: 5.332 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006756/1.049, allocations: 2.185 MB / 0.6248 GB, free: 3.145 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.049, allocations: 8.062 kB / 0.6248 GB, free: 3.137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003839/1.053, allocations: 1.316 MB / 0.6261 GB, free: 1.824 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005065/1.058, allocations: 0.5987 MB / 0.6267 GB, free: 1.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3817/1.44, allocations: 43.44 MB / 0.6691 GB, free: 124.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/1.441, allocations: 1.656 MB / 0.6707 GB, free: 123.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003476/1.445, allocations: 0.8901 MB / 0.6716 GB, free: 123.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/1.446, allocations: 0.8566 MB / 0.6724 GB, free: 123.3 MB / 490.7 MB Notification: Performance of SimCode: time 9.41e-07/1.446, allocations: 4 kB / 0.6724 GB, free: 123.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2036/1.65, allocations: 77.59 MB / 0.7482 GB, free: 72.89 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003382/1.65, allocations: 268.1 kB / 0.7485 GB, free: 72.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/8.973, allocations: 4 kB / 0.7485 GB, free: 72.53 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat