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.8394/0.8394, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003639, allocations: 19 kB / 237.8 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0543/0.05468, allocations: 31.35 MB / 269.1 MB, free: 7.039 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.597/1.651, allocations: 295.6 MB / 0.5515 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4505/2.102, allocations: 187.7 MB / 0.7347 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/2.102, allocations: 10.62 kB / 0.7347 GB, free: 1.809 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.0001784/2.102, allocations: 71.83 kB / 0.7348 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003604/2.103, allocations: 200.7 kB / 0.735 GB, free: 1.809 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.02669/2.129, allocations: 11.51 MB / 0.7462 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007008/2.13, allocations: 0.6947 MB / 0.7469 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/2.13, allocations: 386.5 kB / 0.7473 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/2.131, allocations: 294.5 kB / 0.7476 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/2.131, allocations: 320.7 kB / 0.7479 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.879e-05/2.131, allocations: 67.56 kB / 0.7479 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02659/2.158, allocations: 16.79 MB / 0.7643 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/2.158, allocations: 152.5 kB / 0.7645 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00047/2.158, allocations: 346.8 kB / 0.7648 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02117/2.179, allocations: 8.884 MB / 0.7735 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/2.18, allocations: 0 / 0.7735 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/2.18, allocations: 3.188 kB / 0.7735 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.45e-05/2.18, allocations: 1.031 kB / 0.7735 GB, free: 14.48 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.00437/2.184, allocations: 1.833 MB / 0.7753 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/2.184, allocations: 10.75 kB / 0.7753 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/2.184, allocations: 74.72 kB / 0.7754 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/2.185, allocations: 413.1 kB / 0.7758 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/2.185, allocations: 50.28 kB / 0.7758 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/2.185, allocations: 65.8 kB / 0.7759 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009026/2.186, allocations: 0.6901 MB / 0.7765 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/2.186, allocations: 2.125 kB / 0.7766 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/2.186, allocations: 28.94 kB / 0.7766 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/2.186, allocations: 17.28 kB / 0.7766 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006918/2.186, allocations: 458.3 kB / 0.777 GB, free: 12.66 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.07356/2.26, allocations: 34.98 MB / 0.8112 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/2.26, allocations: 178 kB / 0.8114 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/2.26, allocations: 61.78 kB / 0.8114 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7167/2.977, allocations: 214.5 MB / 1.021 GB, free: 251.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/2.977, allocations: 36.69 kB / 1.021 GB, free: 251.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.325e-06/2.977, allocations: 0 / 1.021 GB, free: 251.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001744/2.979, allocations: 0.6457 MB / 1.022 GB, free: 251.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/2.979, allocations: 52.39 kB / 1.022 GB, free: 251.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/2.98, allocations: 431.4 kB / 1.022 GB, free: 251.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/2.98, allocations: 31.05 kB / 1.022 GB, free: 251.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/2.98, allocations: 362.9 kB / 1.022 GB, free: 251.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/2.98, allocations: 68.14 kB / 1.022 GB, free: 251.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/2.98, allocations: 108.2 kB / 1.023 GB, free: 251.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/2.98, allocations: 345 kB / 1.023 GB, free: 250.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/2.98, allocations: 89.91 kB / 1.023 GB, free: 250.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/2.98, allocations: 317 kB / 1.023 GB, free: 250.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/2.981, allocations: 435.3 kB / 1.024 GB, free: 250.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/2.981, allocations: 0 / 1.024 GB, free: 250.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001017/2.982, allocations: 0.5534 MB / 1.024 GB, free: 250.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/2.982, allocations: 13.88 kB / 1.024 GB, free: 250.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/2.982, allocations: 7.625 kB / 1.024 GB, free: 250.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/2.982, allocations: 135 kB / 1.024 GB, free: 250 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/2.983, allocations: 78.62 kB / 1.024 GB, free: 250 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/2.984, allocations: 2.557 MB / 1.027 GB, free: 247.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/2.984, allocations: 63.3 kB / 1.027 GB, free: 247.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/2.984, allocations: 26.53 kB / 1.027 GB, free: 247.6 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.0002039/2.985, allocations: 192.4 kB / 1.027 GB, free: 247.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/2.985, allocations: 37.78 kB / 1.027 GB, free: 247.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007312/2.985, allocations: 343.4 kB / 1.028 GB, free: 247.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/2.985, allocations: 4.875 kB / 1.028 GB, free: 247.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/2.985, allocations: 0 / 1.028 GB, free: 247.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/2.985, allocations: 134.7 kB / 1.028 GB, free: 247.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/2.985, allocations: 8.625 kB / 1.028 GB, free: 247.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/2.986, allocations: 3.938 kB / 1.028 GB, free: 247.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/2.986, allocations: 18.72 kB / 1.028 GB, free: 247.3 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005304/2.986, allocations: 318 kB / 1.028 GB, free: 247.1 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003293/2.987, allocations: 403.2 kB / 1.028 GB, free: 246.9 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.811e-05/2.987, allocations: 49.05 kB / 1.029 GB, free: 246.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002523/2.987, allocations: 283.1 kB / 1.029 GB, free: 246.8 MB / 0.8419 GB Notification: Performance of Backend: time 1.493e-06/2.987, allocations: 0.9375 kB / 1.029 GB, free: 246.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01046/2.997, allocations: 3.242 MB / 1.032 GB, free: 246.5 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001323/2.999, allocations: 1.368 MB / 1.033 GB, free: 245.6 MB / 0.8419 GB Notification: Performance of Templates: time 0.06889/3.068, allocations: 66.12 MB / 1.098 GB, free: 200.8 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)