Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001842/0.001842, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001404, allocations: 110.3 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001066, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2036, allocations: 50.45 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.07969/0.2833, allocations: 96.23 MB / 0.4915 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.2323/0.5156, allocations: 35.74 MB / 0.5264 GB, free: 1.109 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/0.5184, allocations: 68.88 kB / 0.5264 GB, free: 1.109 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.5214, allocations: 1.185 MB / 0.5276 GB, free: 1.082 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009692/0.5311, allocations: 3.969 MB / 0.5315 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02071/0.5519, allocations: 7.625 MB / 0.5389 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.5629, allocations: 8.962 MB / 0.5477 GB, free: 14.66 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00382/0.5667, allocations: 1.778 MB / 0.5494 GB, free: 13.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01281/0.5795, allocations: 5.499 MB / 0.5548 GB, free: 11.67 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004517/0.5841, allocations: 2.199 MB / 0.5569 GB, free: 10.46 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.5854, allocations: 148 kB / 0.5571 GB, free: 10.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01946/0.6048, allocations: 8.975 MB / 0.5658 GB, free: 2.863 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.6065, allocations: 0.761 MB / 0.5666 GB, free: 2.137 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003046/0.6096, allocations: 1.261 MB / 0.5678 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02031/0.6299, allocations: 8.578 MB / 0.5762 GB, free: 8.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.63, allocations: 0 / 0.5762 GB, free: 8.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.63, allocations: 3.938 kB / 0.5762 GB, free: 8.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001305/0.6302, allocations: 3.938 kB / 0.5762 GB, free: 8.73 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.01274/0.6429, allocations: 3.435 MB / 0.5795 GB, free: 5.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.643, allocations: 15.95 kB / 0.5796 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.6539, allocations: 1.217 MB / 0.5807 GB, free: 4.043 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003177/0.6571, allocations: 1.333 MB / 0.582 GB, free: 2.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003805/0.6575, allocations: 355.7 kB / 0.5824 GB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006915/0.6582, allocations: 185.4 kB / 0.5826 GB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009803/0.668, allocations: 3.429 MB / 0.5859 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.096e-05/0.6681, allocations: 7.938 kB / 0.5859 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000443/0.6686, allocations: 82.33 kB / 0.586 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/0.6687, allocations: 107.3 kB / 0.5861 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009133/0.6779, allocations: 3.401 MB / 0.5894 GB, free: 11.01 MB / 426.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.02489/0.7028, allocations: 14.37 MB / 0.6035 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007568/0.7104, allocations: 2.807 MB / 0.6062 GB, free: 9.074 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002818/0.7133, allocations: 1.428 MB / 0.6076 GB, free: 7.645 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05179/0.7651, allocations: 26.84 MB / 0.6338 GB, free: 9.422 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/0.7652, allocations: 56.56 kB / 0.6339 GB, free: 9.359 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002369/0.7675, allocations: 451.3 kB / 0.6343 GB, free: 8.926 MB / 474.7 MB Notification: Performance of pre-optimization done (n=175): time 4.628e-06/0.7676, allocations: 0 / 0.6343 GB, free: 8.926 MB / 474.7 MB Notification: Performance of matching and sorting (n=205): time 0.04136/0.8089, allocations: 11.99 MB / 0.646 GB, free: 12.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.8091, allocations: 150.5 kB / 0.6461 GB, free: 12.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.812, allocations: 1.408 MB / 0.6475 GB, free: 11.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004256/0.8124, allocations: 61.7 kB / 0.6476 GB, free: 11.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007971/0.8132, allocations: 0.7806 MB / 0.6483 GB, free: 10.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009813/0.8142, allocations: 0.678 MB / 0.649 GB, free: 9.812 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009788/0.8152, allocations: 451.6 kB / 0.6494 GB, free: 9.363 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.8154, allocations: 305.1 kB / 0.6497 GB, free: 9.062 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002633/0.818, allocations: 1.269 MB / 0.651 GB, free: 7.789 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003091/0.8211, allocations: 1.699 MB / 0.6526 GB, free: 5.914 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005772/0.8269, allocations: 2.919 MB / 0.6555 GB, free: 2.848 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.8269, allocations: 4 kB / 0.6555 GB, free: 2.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.008532/0.8355, allocations: 3.942 MB / 0.6593 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.8356, allocations: 14.81 kB / 0.6593 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.8356, allocations: 12 kB / 0.6593 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004758/0.8404, allocations: 1.58 MB / 0.6609 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/0.8424, allocations: 451.3 kB / 0.6613 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/0.8488, allocations: 6.69 MB / 0.6678 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/0.8513, allocations: 203.9 kB / 0.668 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004276/0.8518, allocations: 107.9 kB / 0.6681 GB, free: 5.566 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 21 (mFlow3.medium.phase,openTankHot3.inFlow[1],openTankHot3.regularFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankCold3.inFlow[1],openTankCold3.regularFlow[1],openTankCold3.heatTransfer.states[1].phase,mFlow2.medium.phase,mFlow1.medium.phase,openTankHot2.inFlow[1],openTankHot2.regularFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot1.inFlow[1],openTankHot1.regularFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankCold1.inFlow[1],openTankCold1.regularFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold2.inFlow[1],openTankCold2.regularFlow[1],openTankCold2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,5), (1,5), (4,6), (1,5), (1,5), (4,6), (1,5), (1,5), (6,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001281/0.8531, allocations: 0.5174 MB / 0.6686 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006222/0.8537, allocations: 193.8 kB / 0.6688 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/0.8681, allocations: 9.858 MB / 0.6785 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.49e-05/0.8682, allocations: 107.8 kB / 0.6786 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.8683, allocations: 0 / 0.6786 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/0.8683, allocations: 11.95 kB / 0.6786 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2204/1.089, allocations: 13.26 MB / 0.6915 GB, free: 224.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/1.089, allocations: 0 / 0.6915 GB, free: 224.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/1.091, allocations: 369.6 kB / 0.6919 GB, free: 224.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006783/1.097, allocations: 3.804 MB / 0.6956 GB, free: 224.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004428/1.098, allocations: 64.11 kB / 0.6956 GB, free: 224.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007074/1.105, allocations: 8.76 MB / 0.7042 GB, free: 217.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.105, allocations: 0 / 0.7042 GB, free: 217.8 MB / 0.5105 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4378/1.543, allocations: 184 MB / 0.8839 GB, free: 41.41 MB / 0.5105 GB Error: post-optimization module symbolicJacobian (simulation) failed.