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.TestTemperature2.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.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.016/0.01601, allocations: 108.6 kB / 15.06 MB, free: 6.027 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.001626/0.001626, allocations: 171.9 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.752/1.752, allocations: 170.9 MB / 187.5 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.2539/0.2539, allocations: 38.1 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.09228, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3914/0.4837, allocations: 62.52 MB / 434.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04958/0.5334, allocations: 28.04 MB / 462.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.5357, allocations: 52.59 kB / 462.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003946/0.5397, allocations: 0.9098 MB / 463.8 MB, free: 12.84 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/TestComponents/Sensors/TestTemperature2.mo:86:3-86:124:writable] Warning: Conditional component ‘m_flow_in‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.01776/0.5575, allocations: 3.963 MB / 467.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02146/0.579, allocations: 5.21 MB / 473 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006259/0.5853, allocations: 2.954 MB / 476 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.5876, allocations: 1.071 MB / 477 MB, free: 9.391 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0194/0.607, allocations: 7.081 MB / 484.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002864/0.61, allocations: 1.044 MB / 485.2 MB, free: 6.473 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005495/0.6106, allocations: 100 kB / 485.3 MB, free: 6.375 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01986/0.6304, allocations: 6.872 MB / 492.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.632, allocations: 0.5785 MB / 492.7 MB, free: 15 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.6331, allocations: 408.8 kB / 493.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.6454, allocations: 4.525 MB / 497.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6455, allocations: 0 / 497.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.6455, allocations: 0 / 497.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.51e-05/0.6456, allocations: 4 kB / 497.6 MB, free: 10.3 MB / 346.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.009851/0.6554, allocations: 2.442 MB / 0.4884 GB, free: 7.816 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.6555, allocations: 8.031 kB / 0.4884 GB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009179/0.6565, allocations: 274.4 kB / 0.4886 GB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009266/0.6657, allocations: 0.7818 MB / 0.4894 GB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/0.6691, allocations: 1.06 MB / 0.4904 GB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006726/0.6699, allocations: 460.4 kB / 0.4909 GB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006483/0.6705, allocations: 169 kB / 0.491 GB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/0.6844, allocations: 3.176 MB / 0.4941 GB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.643e-05/0.6846, allocations: 11.88 kB / 0.4941 GB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004829/0.6851, allocations: 80 kB / 0.4942 GB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002107/0.6853, allocations: 86.66 kB / 0.4943 GB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/0.7027, allocations: 2.794 MB / 0.497 GB, free: 14.6 MB / 362.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.03575/0.7385, allocations: 15.53 MB / 0.5122 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009123/0.7477, allocations: 1.294 MB / 0.5135 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08469/0.8325, allocations: 18.49 MB / 0.5315 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.531e-05/0.8326, allocations: 43.56 kB / 0.5316 GB, free: 8.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=101): time 3.316e-06/0.8326, allocations: 0 / 0.5316 GB, free: 8.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=117): time 0.02648/0.8591, allocations: 4.947 MB / 0.5364 GB, free: 3.758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.8592, allocations: 167.2 kB / 0.5365 GB, free: 3.559 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.8616, allocations: 1.203 MB / 0.5377 GB, free: 2.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002473/0.8619, allocations: 49.7 kB / 0.5378 GB, free: 2.293 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.8629, allocations: 0.9741 MB / 0.5387 GB, free: 1.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006354/0.8636, allocations: 430.2 kB / 0.5391 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.8638, allocations: 44 kB / 0.5392 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003344/0.8641, allocations: 459.5 kB / 0.5396 GB, free: 404 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/0.8668, allocations: 0.6371 MB / 0.5402 GB, free: 15.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003878/0.8707, allocations: 1.945 MB / 0.5421 GB, free: 13.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/0.8742, allocations: 0.9863 MB / 0.5431 GB, free: 12.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.644e-05/0.8743, allocations: 16 kB / 0.5431 GB, free: 12.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.009653/0.8839, allocations: 2.78 MB / 0.5458 GB, free: 9.359 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.745e-05/0.884, allocations: 24 kB / 0.5458 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.147e-05/0.8841, allocations: 45.09 kB / 0.5459 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/0.8862, allocations: 411.1 kB / 0.5463 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/0.8897, allocations: 0.5459 MB / 0.5468 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/0.8932, allocations: 2.74 MB / 0.5495 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003095/0.8964, allocations: 199.6 kB / 0.5497 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000456/0.8969, allocations: 144 kB / 0.5498 GB, free: 5.152 MB / 410.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.001471/0.8984, allocations: 0.5444 MB / 0.5503 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/0.8988, allocations: 154.2 kB / 0.5505 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/0.9101, allocations: 4.674 MB / 0.5551 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.572e-05/0.9102, allocations: 51.92 kB / 0.5551 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.9103, allocations: 0 / 0.5551 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.841e-05/0.9103, allocations: 11.97 kB / 0.5551 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.9258, allocations: 6.836 MB / 0.5618 GB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.9259, allocations: 4 kB / 0.5618 GB, free: 8.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/0.9277, allocations: 248 kB / 0.562 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/0.9297, allocations: 403 kB / 0.5624 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.9298, allocations: 35.98 kB / 0.5625 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/0.9332, allocations: 2.772 MB / 0.5652 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.9332, allocations: 4 kB / 0.5652 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/0.9436, allocations: 4.116 MB / 0.5692 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.9448, allocations: 449.5 kB / 0.5696 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.9452, allocations: 31.89 kB / 0.5696 GB, free: 344 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.9469, allocations: 123.8 kB / 0.5698 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.9472, allocations: 88.88 kB / 0.5698 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.9473, allocations: 43.98 kB / 0.5699 GB, free: 88 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001738/0.9491, allocations: 0.8188 MB / 0.5707 GB, free: 15.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.9491, allocations: 0 / 0.5707 GB, free: 15.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006121/0.9552, allocations: 1.37 MB / 0.572 GB, free: 13.9 MB / 442.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.01822/0.9735, allocations: 6.659 MB / 0.5785 GB, free: 7.094 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006875/0.9804, allocations: 2.185 MB / 0.5807 GB, free: 4.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.9805, allocations: 0 / 0.5807 GB, free: 4.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004118/0.9846, allocations: 1.324 MB / 0.582 GB, free: 3.586 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005349/0.99, allocations: 0.6023 MB / 0.5825 GB, free: 2.988 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3073/1.297, allocations: 43.45 MB / 0.625 GB, free: 129.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/1.299, allocations: 1.653 MB / 0.6266 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003626/1.303, allocations: 0.8898 MB / 0.6275 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/1.305, allocations: 0.8561 MB / 0.6283 GB, free: 127.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/1.305, allocations: 0 / 0.6283 GB, free: 127.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1655/1.47, allocations: 77.31 MB / 0.7038 GB, free: 58.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/1.471, allocations: 268 kB / 0.704 GB, free: 58.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/8.756, allocations: 4 kB / 0.7041 GB, free: 58.33 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat