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.8313/0.8313, allocations: 150.9 MB / 167.2 MB, free: 14.49 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003325, allocations: 20.7 kB / 237.8 MB, free: 1.773 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04899/0.04934, allocations: 31.34 MB / 269.1 MB, free: 7.051 MB / 222.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.606/1.655, allocations: 295.7 MB / 0.5516 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4821/2.138, allocations: 187.7 MB / 0.7349 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/2.138, allocations: 11.45 kB / 0.7349 GB, free: 1.77 MB / 0.5919 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.0001819/2.138, allocations: 75.27 kB / 0.735 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003613/2.138, allocations: 196.4 kB / 0.7352 GB, free: 1.77 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03207/2.17, allocations: 11.72 MB / 0.7466 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008516/2.171, allocations: 0.6973 MB / 0.7473 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/2.172, allocations: 393.9 kB / 0.7477 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/2.172, allocations: 289.4 kB / 0.7479 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/2.172, allocations: 326.1 kB / 0.7482 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/2.173, allocations: 67.94 kB / 0.7483 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02925/2.202, allocations: 16.79 MB / 0.7647 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/2.202, allocations: 156 kB / 0.7649 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000455/2.202, allocations: 346.8 kB / 0.7652 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02332/2.226, allocations: 8.933 MB / 0.7739 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/2.226, allocations: 0 / 0.7739 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/2.226, allocations: 0.875 kB / 0.7739 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.383e-05/2.226, allocations: 0 / 0.7739 GB, free: 14.46 MB / 0.6075 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.004703/2.231, allocations: 1.9 MB / 0.7758 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/2.231, allocations: 7.688 kB / 0.7758 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/2.231, allocations: 83.66 kB / 0.7759 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/2.231, allocations: 407.1 kB / 0.7762 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/2.231, allocations: 51.78 kB / 0.7763 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/2.232, allocations: 64.94 kB / 0.7764 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/2.233, allocations: 0.6923 MB / 0.777 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/2.233, allocations: 4.188 kB / 0.777 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/2.233, allocations: 29.72 kB / 0.7771 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/2.233, allocations: 16.22 kB / 0.7771 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007914/2.233, allocations: 457.8 kB / 0.7775 GB, free: 12.56 MB / 0.6075 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.07343/2.307, allocations: 34.99 MB / 0.8117 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/2.307, allocations: 182.2 kB / 0.8119 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/2.307, allocations: 70.84 kB / 0.8119 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6197/2.927, allocations: 214.6 MB / 1.021 GB, free: 462.4 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/2.927, allocations: 36.56 kB / 1.021 GB, free: 462.3 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/2.927, allocations: 0 / 1.021 GB, free: 462.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001572/2.929, allocations: 0.6396 MB / 1.022 GB, free: 462 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.677e-05/2.929, allocations: 59.7 kB / 1.022 GB, free: 461.9 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/2.929, allocations: 434.1 kB / 1.023 GB, free: 461.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/2.929, allocations: 25.7 kB / 1.023 GB, free: 461.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/2.929, allocations: 376.3 kB / 1.023 GB, free: 461.6 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/2.929, allocations: 66.56 kB / 1.023 GB, free: 461.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/2.93, allocations: 113.7 kB / 1.023 GB, free: 461.6 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/2.93, allocations: 346.5 kB / 1.023 GB, free: 461.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/2.93, allocations: 85.33 kB / 1.024 GB, free: 461.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/2.93, allocations: 323.1 kB / 1.024 GB, free: 461 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/2.93, allocations: 426.4 kB / 1.024 GB, free: 460.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/2.93, allocations: 5.906 kB / 1.024 GB, free: 460.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001013/2.931, allocations: 0.5486 MB / 1.025 GB, free: 460.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/2.931, allocations: 12.16 kB / 1.025 GB, free: 460.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/2.932, allocations: 8.375 kB / 1.025 GB, free: 460.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/2.932, allocations: 136.2 kB / 1.025 GB, free: 460.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/2.932, allocations: 74.89 kB / 1.025 GB, free: 460.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/2.934, allocations: 2.558 MB / 1.028 GB, free: 458.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/2.934, allocations: 67.41 kB / 1.028 GB, free: 458.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/2.934, allocations: 29.84 kB / 1.028 GB, free: 458.2 MB / 0.8419 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.0001805/2.934, allocations: 191.8 kB / 1.028 GB, free: 458.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/2.934, allocations: 43.59 kB / 1.028 GB, free: 458 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007384/2.935, allocations: 338.4 kB / 1.028 GB, free: 458 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/2.935, allocations: 0.5625 kB / 1.028 GB, free: 458 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/2.935, allocations: 0 / 1.028 GB, free: 458 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-05/2.935, allocations: 144.4 kB / 1.028 GB, free: 457.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/2.935, allocations: 9.75 kB / 1.028 GB, free: 457.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/2.935, allocations: 3.938 kB / 1.028 GB, free: 457.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/2.935, allocations: 20.97 kB / 1.028 GB, free: 457.8 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005384/2.936, allocations: 313.6 kB / 1.029 GB, free: 457.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003248/2.936, allocations: 410.4 kB / 1.029 GB, free: 457.5 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.856e-05/2.936, allocations: 48.69 kB / 1.029 GB, free: 457.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002493/2.936, allocations: 280 kB / 1.029 GB, free: 457.4 MB / 0.8419 GB Notification: Performance of Backend: time 6.61e-07/2.936, allocations: 0 / 1.029 GB, free: 457.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01075/2.947, allocations: 3.277 MB / 1.033 GB, free: 457.1 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001499/2.949, allocations: 1.385 MB / 1.034 GB, free: 456.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.06458/3.013, allocations: 66.12 MB / 1.098 GB, free: 403.7 MB / 0.8419 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)