Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8606/0.8606, allocations: 150.9 MB / 167.2 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 14.2 kB / 237.7 MB, free: 2.008 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05495/0.05532, allocations: 31.35 MB / 269.1 MB, free: 7.207 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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.634/1.689, allocations: 294.7 MB / 0.5506 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4918/2.181, allocations: 190.1 MB / 0.7362 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/2.181, allocations: 8.844 kB / 0.7362 GB, free: 1.785 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59: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/SinkP.mo:46:3-47: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/Diaphragm.mo:34:3-35: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/Diaphragm.mo:36:3-37:65:writable] Warning: Connector C2 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.0001169/2.181, allocations: 39.33 kB / 0.7363 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002804/2.182, allocations: 111.3 kB / 0.7364 GB, free: 1.785 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.03152/2.213, allocations: 12.34 MB / 0.7484 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000618/2.214, allocations: 398.2 kB / 0.7488 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/2.214, allocations: 200.4 kB / 0.749 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/2.214, allocations: 168.4 kB / 0.7492 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/2.214, allocations: 173 kB / 0.7493 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/2.214, allocations: 35.91 kB / 0.7494 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03488/2.249, allocations: 21.02 MB / 0.7699 GB, free: 472 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/2.249, allocations: 73.23 kB / 0.77 GB, free: 460 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002576/2.25, allocations: 188.4 kB / 0.7701 GB, free: 448 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02499/2.275, allocations: 10.41 MB / 0.7803 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/2.275, allocations: 1.438 kB / 0.7803 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/2.275, allocations: 0 / 0.7803 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.243e-05/2.275, allocations: 4.219 kB / 0.7803 GB, free: 12.85 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.005002/2.28, allocations: 1.863 MB / 0.7821 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/2.28, allocations: 11.8 kB / 0.7821 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/2.28, allocations: 42.69 kB / 0.7822 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/2.28, allocations: 304.8 kB / 0.7825 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/2.28, allocations: 28.06 kB / 0.7825 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/2.28, allocations: 36.09 kB / 0.7825 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/2.281, allocations: 382.1 kB / 0.7829 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/2.281, allocations: 1.734 kB / 0.7829 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/2.281, allocations: 18.98 kB / 0.7829 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/2.281, allocations: 7.188 kB / 0.7829 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/2.281, allocations: 245.6 kB / 0.7832 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008371/2.29, allocations: 6.16 MB / 0.7892 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/2.29, allocations: 87.19 kB / 0.7893 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/2.29, allocations: 26.86 kB / 0.7893 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3325/2.623, allocations: 155.6 MB / 0.9413 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/2.623, allocations: 30.56 kB / 0.9413 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/2.623, allocations: 0 / 0.9413 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0008253/2.624, allocations: 252.4 kB / 0.9415 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/2.624, allocations: 77.11 kB / 0.9416 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/2.624, allocations: 294.7 kB / 0.9419 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/2.624, allocations: 30.91 kB / 0.9419 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/2.624, allocations: 230.8 kB / 0.9421 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/2.624, allocations: 31.64 kB / 0.9422 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/2.624, allocations: 61.83 kB / 0.9422 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001115/2.624, allocations: 330.8 kB / 0.9426 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/2.625, allocations: 52.44 kB / 0.9426 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/2.625, allocations: 155.4 kB / 0.9427 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/2.625, allocations: 212.8 kB / 0.943 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/2.625, allocations: 0.9375 kB / 0.943 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005523/2.626, allocations: 281.5 kB / 0.9432 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/2.626, allocations: 5.562 kB / 0.9432 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/2.626, allocations: 4 kB / 0.9432 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009604/2.627, allocations: 119.2 kB / 0.9433 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/2.627, allocations: 39.08 kB / 0.9434 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004522/2.627, allocations: 0.5685 MB / 0.9439 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/2.628, allocations: 35.58 kB / 0.944 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/2.628, allocations: 12 kB / 0.944 GB, free: 11.12 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001487/2.628, allocations: 153 kB / 0.9441 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/2.628, allocations: 23.72 kB / 0.9442 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000592/2.628, allocations: 178.3 kB / 0.9443 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/2.628, allocations: 1.359 kB / 0.9443 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/2.628, allocations: 0 / 0.9443 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/2.628, allocations: 104.8 kB / 0.9444 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/2.629, allocations: 0 / 0.9444 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/2.629, allocations: 3.984 kB / 0.9444 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/2.629, allocations: 11.19 kB / 0.9444 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003439/2.629, allocations: 193.7 kB / 0.9446 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002866/2.629, allocations: 303.8 kB / 0.9449 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.64e-05/2.629, allocations: 22.53 kB / 0.9449 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001944/2.63, allocations: 198 kB / 0.9451 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of Backend: time 5.01e-07/2.63, allocations: 4 kB / 0.9451 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01559/2.645, allocations: 3.856 MB / 0.9489 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of SimCode: time 0.001335/2.647, allocations: 0.9913 MB / 0.9499 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of Templates: time 0.2792/2.926, allocations: 75.53 MB / 1.024 GB, free: 462.5 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1)