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.7892/0.7892, allocations: 150.9 MB / 166 MB, free: 14.69 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002893, allocations: 15.98 kB / 204 MB, free: 10.15 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 31.33 MB / 235.4 MB, free: 5.465 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier): time 1.551/1.697, allocations: 293.5 MB / 0.5165 GB, free: 13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4673/2.164, allocations: 188.6 MB / 0.7007 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/2.165, allocations: 10.03 kB / 0.7007 GB, free: 3.723 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/MassFlowMultiplier.mo:43:3-44:67:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Junctions/MassFlowMultiplier.mo:45:3-46:65:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003181/2.165, allocations: 52.14 kB / 0.7007 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006568/2.166, allocations: 178 kB / 0.7009 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02454/2.19, allocations: 8.805 MB / 0.7095 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009/2.191, allocations: 0.67 MB / 0.7101 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/2.192, allocations: 373.1 kB / 0.7105 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/2.192, allocations: 266.5 kB / 0.7108 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/2.192, allocations: 313.9 kB / 0.7111 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/2.192, allocations: 50.03 kB / 0.7111 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02554/2.218, allocations: 16.83 MB / 0.7275 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/2.218, allocations: 135.2 kB / 0.7277 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004614/2.218, allocations: 328.3 kB / 0.728 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01938/2.238, allocations: 8.951 MB / 0.7367 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/2.238, allocations: 0 / 0.7367 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/2.238, allocations: 0 / 0.7367 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.011e-05/2.238, allocations: 0 / 0.7367 GB, free: 1.848 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.004636/2.242, allocations: 1.841 MB / 0.7385 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/2.242, allocations: 10.75 kB / 0.7385 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/2.243, allocations: 81.53 kB / 0.7386 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/2.243, allocations: 392 kB / 0.739 GB, free: 360 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/2.243, allocations: 49.28 kB / 0.739 GB, free: 360 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/2.243, allocations: 62.84 kB / 0.7391 GB, free: 360 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/2.244, allocations: 0.686 MB / 0.7398 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/2.244, allocations: 2.906 kB / 0.7398 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/2.244, allocations: 35.88 kB / 0.7398 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/2.244, allocations: 20.03 kB / 0.7398 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007004/2.245, allocations: 457.5 kB / 0.7402 GB, free: 16 kB / 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.07051/2.315, allocations: 34.75 MB / 0.7742 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/2.316, allocations: 166 kB / 0.7743 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/2.316, allocations: 61.84 kB / 0.7744 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5821/2.898, allocations: 213.2 MB / 0.9826 GB, free: 477.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/2.898, allocations: 40.34 kB / 0.9826 GB, free: 477.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/2.898, allocations: 0 / 0.9826 GB, free: 477.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001724/2.9, allocations: 0.6519 MB / 0.9832 GB, free: 476.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/2.9, allocations: 56.08 kB / 0.9833 GB, free: 476.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/2.9, allocations: 431.2 kB / 0.9837 GB, free: 476.6 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/2.9, allocations: 26.86 kB / 0.9837 GB, free: 476.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/2.901, allocations: 364.3 kB / 0.9841 GB, free: 476.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/2.901, allocations: 61.75 kB / 0.9841 GB, free: 476.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/2.901, allocations: 112.5 kB / 0.9842 GB, free: 476.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.171e-05/2.901, allocations: 345.8 kB / 0.9846 GB, free: 476 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/2.901, allocations: 86.72 kB / 0.9847 GB, free: 476 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/2.901, allocations: 317.7 kB / 0.985 GB, free: 475.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/2.902, allocations: 433.9 kB / 0.9854 GB, free: 475.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/2.902, allocations: 2.812 kB / 0.9854 GB, free: 475.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00116/2.903, allocations: 0.5493 MB / 0.9859 GB, free: 475.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/2.903, allocations: 6.812 kB / 0.9859 GB, free: 475.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/2.903, allocations: 9.922 kB / 0.9859 GB, free: 475.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/2.903, allocations: 137 kB / 0.9861 GB, free: 475.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/2.904, allocations: 73.05 kB / 0.9861 GB, free: 475.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/2.905, allocations: 2.452 MB / 0.9885 GB, free: 473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/2.905, allocations: 83.14 kB / 0.9886 GB, free: 473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/2.905, allocations: 25.16 kB / 0.9886 GB, free: 473 MB / 0.8262 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.0002194/2.906, allocations: 201.9 kB / 0.9888 GB, free: 472.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/2.906, allocations: 41.19 kB / 0.9889 GB, free: 472.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007909/2.907, allocations: 336.8 kB / 0.9892 GB, free: 472.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/2.907, allocations: 7.547 kB / 0.9892 GB, free: 472.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/2.907, allocations: 0.75 kB / 0.9892 GB, free: 472.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/2.907, allocations: 4.594 kB / 0.9892 GB, free: 472.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/2.907, allocations: 444.6 kB / 0.9896 GB, free: 472.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/2.907, allocations: 2.312 kB / 0.9896 GB, free: 472.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/2.907, allocations: 8.625 kB / 0.9896 GB, free: 472.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004591/2.908, allocations: 122.6 kB / 0.9897 GB, free: 472.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/2.908, allocations: 2.094 kB / 0.9897 GB, free: 472.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/2.909, allocations: 2.438 MB / 0.9921 GB, free: 470.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/2.909, allocations: 0 / 0.9921 GB, free: 470.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/2.909, allocations: 396.2 kB / 0.9925 GB, free: 470.1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/2.91, allocations: 131.8 kB / 0.9926 GB, free: 470 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/2.91, allocations: 3.25 kB / 0.9926 GB, free: 470 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/2.91, allocations: 2.578 kB / 0.9926 GB, free: 470 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/2.91, allocations: 18.3 kB / 0.9926 GB, free: 470 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/2.91, allocations: 5.688 kB / 0.9927 GB, free: 470 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002895/2.91, allocations: 289.7 kB / 0.9929 GB, free: 469.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.052e-06/2.91, allocations: 1.25 kB / 0.9929 GB, free: 469.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003201/2.913, allocations: 1.328 MB / 0.9942 GB, free: 469.8 MB / 0.8262 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.005428/2.919, allocations: 1.963 MB / 0.9961 GB, free: 469.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007032/2.92, allocations: 378.7 kB / 0.9965 GB, free: 469.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/2.92, allocations: 0 / 0.9965 GB, free: 469.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/2.92, allocations: 203.8 kB / 0.9967 GB, free: 469.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/2.92, allocations: 100.2 kB / 0.9968 GB, free: 469.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/2.921, allocations: 0.9745 MB / 0.9977 GB, free: 468.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/2.922, allocations: 0.8498 MB / 0.9986 GB, free: 468.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002381/2.922, allocations: 78.64 kB / 0.9987 GB, free: 468.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/2.922, allocations: 31.88 kB / 0.9987 GB, free: 468.1 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/2.922, allocations: 0 / 0.9987 GB, free: 468.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.04505/2.967, allocations: 43.24 MB / 1.041 GB, free: 444.4 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestMassFlowMultiplier.makefile (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)