Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8482/0.8482, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.813e-05, allocations: 4 kB / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1968, allocations: 31.97 MB / 236.8 MB, free: 5.434 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier): time 1.71/1.907, allocations: 294.5 MB / 0.5188 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2135/2.12, allocations: 186.4 MB / 0.7008 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/2.121, allocations: 7.938 kB / 0.7008 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001543/2.121, allocations: 47.56 kB / 0.7009 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004853/2.122, allocations: 174.7 kB / 0.701 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4163/2.538, allocations: 8.976 MB / 0.7098 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001049/2.539, allocations: 0.6695 MB / 0.7104 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004802/2.539, allocations: 330.5 kB / 0.7108 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/2.54, allocations: 222.7 kB / 0.711 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/2.54, allocations: 260.8 kB / 0.7112 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/2.54, allocations: 28.06 kB / 0.7113 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03494/2.575, allocations: 16.89 MB / 0.7277 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/2.575, allocations: 108.7 kB / 0.7279 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005272/2.576, allocations: 314.6 kB / 0.7282 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02537/2.601, allocations: 8.859 MB / 0.7368 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/2.601, allocations: 1.875 kB / 0.7368 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.885e-06/2.601, allocations: 0.625 kB / 0.7368 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.203e-05/2.601, allocations: 0 / 0.7368 GB, free: 2.855 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006037/2.607, allocations: 1.703 MB / 0.7385 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/2.607, allocations: 9.406 kB / 0.7385 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/2.608, allocations: 82.69 kB / 0.7386 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/2.608, allocations: 393.2 kB / 0.7389 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/2.608, allocations: 50.16 kB / 0.739 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/2.608, allocations: 62.41 kB / 0.739 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/2.61, allocations: 0.6963 MB / 0.7397 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/2.61, allocations: 0 / 0.7397 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/2.61, allocations: 28.41 kB / 0.7397 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/2.61, allocations: 19.59 kB / 0.7398 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007843/2.61, allocations: 461.4 kB / 0.7402 GB, free: 1.043 MB / 0.5762 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.07956/2.69, allocations: 35.04 MB / 0.7744 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/2.69, allocations: 169.1 kB / 0.7746 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/2.691, allocations: 63.67 kB / 0.7746 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6672/3.358, allocations: 215.1 MB / 0.9847 GB, free: 456.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/3.358, allocations: 32.75 kB / 0.9847 GB, free: 456.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 3.026e-06/3.358, allocations: 2.719 kB / 0.9847 GB, free: 456.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001783/3.36, allocations: 0.6615 MB / 0.9853 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/3.36, allocations: 54.03 kB / 0.9854 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005845/3.36, allocations: 433.2 kB / 0.9858 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/3.36, allocations: 25.7 kB / 0.9858 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/3.36, allocations: 367.1 kB / 0.9862 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/3.361, allocations: 61.97 kB / 0.9862 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/3.361, allocations: 52.89 kB / 0.9863 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/3.361, allocations: 344.5 kB / 0.9866 GB, free: 455.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/3.361, allocations: 87.58 kB / 0.9867 GB, free: 455.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/3.361, allocations: 320.5 kB / 0.987 GB, free: 455.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/3.362, allocations: 427.8 kB / 0.9874 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/3.362, allocations: 2.812 kB / 0.9874 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001123/3.363, allocations: 0.555 MB / 0.988 GB, free: 454.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/3.363, allocations: 11.83 kB / 0.988 GB, free: 454.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/3.363, allocations: 11.16 kB / 0.988 GB, free: 454.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/3.363, allocations: 135.6 kB / 0.9881 GB, free: 454.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/3.364, allocations: 75.83 kB / 0.9882 GB, free: 454.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/3.365, allocations: 2.464 MB / 0.9906 GB, free: 452.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/3.365, allocations: 78.89 kB / 0.9907 GB, free: 452.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/3.366, allocations: 24.23 kB / 0.9907 GB, free: 452.4 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 14 (massFlowMultiplier.fluid1,massFlowMultiplier.Cs.ftype,sourcePQ.C.ftype,massFlowMultiplier.fluids[1],sink.fluid,singularPressureLoss.fluid,singularPressureLoss1.fluid,sourcePQ.fluid1,massFlowMultiplier.Cs.diff_on_1,singularPressureLoss1.C2.diff_on_1,massFlowMultiplier.Ce.diff_on_2,sourcePQ.C.diff_on_2,massFlowMultiplier.Cs.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002701/3.366, allocations: 198.9 kB / 0.9909 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/3.366, allocations: 39.12 kB / 0.9909 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000843/3.367, allocations: 344.8 kB / 0.9913 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/3.367, allocations: 0 / 0.9913 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/3.367, allocations: 3.906 kB / 0.9913 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/3.367, allocations: 1.688 kB / 0.9913 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/3.367, allocations: 442.3 kB / 0.9917 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/3.367, allocations: 2.125 kB / 0.9917 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/3.367, allocations: 16.41 kB / 0.9917 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/3.368, allocations: 119.8 kB / 0.9918 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/3.368, allocations: 9.094 kB / 0.9918 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/3.369, allocations: 2.428 MB / 0.9942 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/3.369, allocations: 0.7188 kB / 0.9942 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/3.37, allocations: 401 kB / 0.9946 GB, free: 449.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/3.37, allocations: 133.2 kB / 0.9947 GB, free: 449.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/3.37, allocations: 0 / 0.9947 GB, free: 449.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/3.37, allocations: 11.19 kB / 0.9947 GB, free: 449.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/3.37, allocations: 15.55 kB / 0.9947 GB, free: 449.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/3.37, allocations: 8.953 kB / 0.9947 GB, free: 449.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002868/3.37, allocations: 286.7 kB / 0.995 GB, free: 449.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/3.37, allocations: 0 / 0.995 GB, free: 449.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00411/3.374, allocations: 1.325 MB / 0.9963 GB, free: 449.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007519/3.382, allocations: 1.932 MB / 0.9982 GB, free: 448.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009009/3.383, allocations: 379 kB / 0.9986 GB, free: 448.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/3.383, allocations: 1.312 kB / 0.9986 GB, free: 448.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002962/3.383, allocations: 206.2 kB / 0.9987 GB, free: 448.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/3.384, allocations: 98.11 kB / 0.9988 GB, free: 448.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/3.385, allocations: 0.9795 MB / 0.9998 GB, free: 448 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/3.386, allocations: 0.8533 MB / 1.001 GB, free: 447.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002728/3.386, allocations: 76.05 kB / 1.001 GB, free: 447.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/3.386, allocations: 33.53 kB / 1.001 GB, free: 447.3 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/3.386, allocations: 5.719 kB / 1.001 GB, free: 447.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.05361/3.44, allocations: 42.69 MB / 1.042 GB, free: 416.1 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.pipe 2>&1) Environment - environmentSimulation: