Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009696/0.009701, allocations: 162.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.649/1.649, allocations: 170.8 MB / 186.7 MB, free: 1.02 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001738/0.001737, allocations: 122.7 kB / 226.2 MB, free: 10.07 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4265/0.4265, allocations: 38.06 MB / 303.7 MB, free: 42.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.000479, allocations: 8 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1072, allocations: 48.72 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 1.122/1.229, allocations: 306.4 MB / 0.7013 GB, free: 10.57 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0571/1.286, allocations: 24.3 MB / 0.725 GB, free: 5.711 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003643/1.29, allocations: 76.97 kB / 0.7251 GB, free: 5.676 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004741/1.295, allocations: 0.7376 MB / 0.7258 GB, free: 5.164 MB / 458.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.03543/1.33, allocations: 6.521 MB / 0.7322 GB, free: 14.94 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05907/1.389, allocations: 7.07 MB / 0.7391 GB, free: 7.852 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.02631/1.416, allocations: 7.415 MB / 0.7463 GB, free: 428 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004276/1.42, allocations: 1.611 MB / 0.7479 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01232/1.432, allocations: 3.601 MB / 0.7514 GB, free: 11.17 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007253/1.44, allocations: 2.773 MB / 0.7541 GB, free: 8.391 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001135/1.441, allocations: 148 kB / 0.7542 GB, free: 8.246 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04212/1.483, allocations: 14.93 MB / 0.7688 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002553/1.486, allocations: 1.056 MB / 0.7699 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/1.487, allocations: 0.5122 MB / 0.7704 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.5113/1.998, allocations: 8.364 MB / 0.7785 GB, free: 17.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.998, allocations: 0.6562 kB / 0.7785 GB, free: 17.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.797e-06/1.998, allocations: 2.625 kB / 0.7785 GB, free: 17.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001361/1.998, allocations: 1.688 kB / 0.7785 GB, free: 17.74 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.02418/2.023, allocations: 4.437 MB / 0.7829 GB, free: 16.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/2.023, allocations: 10.16 kB / 0.7829 GB, free: 16.22 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001733/2.025, allocations: 285.9 kB / 0.7831 GB, free: 16.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/2.027, allocations: 281.6 kB / 0.7834 GB, free: 16.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006408/2.033, allocations: 1.474 MB / 0.7849 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003967/2.034, allocations: 147.1 kB / 0.785 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/2.035, allocations: 184 kB / 0.7852 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01374/2.049, allocations: 3.15 MB / 0.7882 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.868e-05/2.049, allocations: 6.547 kB / 0.7883 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006788/2.05, allocations: 80.8 kB / 0.7883 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000584/2.05, allocations: 190.8 kB / 0.7885 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01557/2.066, allocations: 3.545 MB / 0.792 GB, free: 15.44 MB / 0.4948 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.04031/2.106, allocations: 12.08 MB / 0.8038 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005508/2.112, allocations: 1.648 MB / 0.8054 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003433/2.115, allocations: 1.061 MB / 0.8064 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005674/2.121, allocations: 4.712 MB / 0.811 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.992e-05/2.121, allocations: 51.5 kB / 0.8111 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003207/2.124, allocations: 309.1 kB / 0.8114 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 7.845e-06/2.124, allocations: 5.188 kB / 0.8114 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=169): time 0.0486/2.173, allocations: 8.67 MB / 0.8198 GB, free: 21.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/2.173, allocations: 200.3 kB / 0.82 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/2.176, allocations: 1.639 MB / 0.8216 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007464/2.177, allocations: 56.23 kB / 0.8217 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009493/2.178, allocations: 1.024 MB / 0.8227 GB, free: 20.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/2.179, allocations: 0.594 MB / 0.8233 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003685/2.18, allocations: 48.84 kB / 0.8233 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002501/2.18, allocations: 393.4 kB / 0.8237 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004389/2.184, allocations: 1.212 MB / 0.8249 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004957/2.189, allocations: 1.786 MB / 0.8266 GB, free: 18.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005293/2.195, allocations: 1.502 MB / 0.8281 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.684e-05/2.195, allocations: 3.188 kB / 0.8281 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01689/2.212, allocations: 4.059 MB / 0.832 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004917/2.212, allocations: 0.6124 MB / 0.8326 GB, free: 17.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-05/2.212, allocations: 14.34 kB / 0.8327 GB, free: 17.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01339/2.226, allocations: 1.323 MB / 0.8339 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004504/2.23, allocations: 0.5505 MB / 0.8345 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005335/2.235, allocations: 2.147 MB / 0.8366 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004736/2.24, allocations: 204.2 kB / 0.8368 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007832/2.241, allocations: 183.7 kB / 0.8369 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/2.241, allocations: 3.906 kB / 0.837 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01674/2.258, allocations: 3.818 MB / 0.8407 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-05/2.258, allocations: 19.62 kB / 0.8407 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009823/2.268, allocations: 0.9752 MB / 0.8417 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004667/2.273, allocations: 0.552 MB / 0.8422 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/2.277, allocations: 1.909 MB / 0.8441 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004358/2.281, allocations: 193.3 kB / 0.8442 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007523/2.282, allocations: 175.9 kB / 0.8444 GB, free: 15.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 6,5 14} Notification: Performance of prepare postOptimizeDAE: time 0.002065/2.284, allocations: 0.6543 MB / 0.845 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007435/2.285, allocations: 199.3 kB / 0.8452 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/2.299, allocations: 4.05 MB / 0.8492 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/2.299, allocations: 21.91 kB / 0.8492 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/2.299, allocations: 4 kB / 0.8492 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.245e-05/2.299, allocations: 12.81 kB / 0.8492 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/2.316, allocations: 5.642 MB / 0.8547 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/2.316, allocations: 4 kB / 0.8547 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003054/2.319, allocations: 332.2 kB / 0.8551 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01012/2.329, allocations: 1.182 MB / 0.8562 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006814/2.33, allocations: 72.16 kB / 0.8563 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004417/2.334, allocations: 2.052 MB / 0.8583 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/2.334, allocations: 4.062 kB / 0.8583 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/2.351, allocations: 4.522 MB / 0.8627 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/2.352, allocations: 318.7 kB / 0.863 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/2.353, allocations: 48.55 kB / 0.8631 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003905/2.357, allocations: 141.3 kB / 0.8632 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009082/2.358, allocations: 156.4 kB / 0.8633 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005277/2.359, allocations: 121 kB / 0.8635 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002876/2.362, allocations: 1.095 MB / 0.8645 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.104e-06/2.362, allocations: 0 / 0.8645 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01335/2.375, allocations: 2.754 MB / 0.8672 GB, free: 3.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * 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 (166): * Single equations (assignments): 164 * 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 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02817/2.403, allocations: 7.535 MB / 0.8746 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01851/2.422, allocations: 4.906 MB / 0.8794 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/2.422, allocations: 64 / 0.8794 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005364/2.427, allocations: 1.401 MB / 0.8807 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009677/2.437, allocations: 1.052 MB / 0.8818 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06235/2.499, allocations: 18.57 MB / 0.8999 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00303/2.502, allocations: 1.721 MB / 0.9016 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01375/2.516, allocations: 1.266 MB / 0.9028 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004222/2.521, allocations: 0.9406 MB / 0.9037 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of SimCode: time 1.974e-06/2.521, allocations: 0 / 0.9037 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6118/3.132, allocations: 105.4 MB / 1.007 GB, free: 330 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/3.133, allocations: 279.8 kB / 1.007 GB, free: 329.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/11.04, allocations: 0 / 1.007 GB, free: 329.6 MB / 0.6355 GB