Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8432/0.8432, allocations: 150.8 MB / 166.6 MB, free: 11.11 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 15.97 kB / 204.7 MB, free: 6.148 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1638, allocations: 31.33 MB / 236 MB, free: 3.895 MB / 186.7 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.TestDiaphragm): time 1.745/1.908, allocations: 292 MB / 0.5157 GB, free: 9.973 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.5677/2.476, allocations: 191.1 MB / 0.7023 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/2.477, allocations: 7.625 kB / 0.7023 GB, free: 2.68 MB / 0.5573 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.0001166/2.477, allocations: 27.95 kB / 0.7023 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003062/2.477, allocations: 98.84 kB / 0.7024 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02847/2.505, allocations: 9.316 MB / 0.7115 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005204/2.506, allocations: 389.3 kB / 0.7119 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/2.506, allocations: 189.1 kB / 0.7121 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/2.506, allocations: 148.6 kB / 0.7122 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/2.507, allocations: 169 kB / 0.7124 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/2.507, allocations: 28.88 kB / 0.7124 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03542/2.542, allocations: 21.02 MB / 0.7329 GB, free: 316 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/2.542, allocations: 73.45 kB / 0.733 GB, free: 304 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003037/2.543, allocations: 174.3 kB / 0.7331 GB, free: 292 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02864/2.571, allocations: 10.6 MB / 0.7435 GB, free: 12.75 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/2.571, allocations: 2.125 kB / 0.7435 GB, free: 12.75 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.813e-06/2.571, allocations: 0 / 0.7435 GB, free: 12.75 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.344e-06/2.571, allocations: 0 / 0.7435 GB, free: 12.75 MB / 0.573 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.00526/2.577, allocations: 1.869 MB / 0.7453 GB, free: 11.53 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/2.577, allocations: 11.38 kB / 0.7453 GB, free: 11.53 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.45e-05/2.577, allocations: 42.03 kB / 0.7454 GB, free: 11.51 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/2.577, allocations: 286.8 kB / 0.7456 GB, free: 11.26 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/2.577, allocations: 28.81 kB / 0.7457 GB, free: 11.25 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/2.577, allocations: 36.53 kB / 0.7457 GB, free: 11.25 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006727/2.578, allocations: 381.2 kB / 0.7461 GB, free: 11.1 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/2.578, allocations: 3.719 kB / 0.7461 GB, free: 11.1 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/2.578, allocations: 15.25 kB / 0.7461 GB, free: 11.1 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/2.578, allocations: 14.03 kB / 0.7461 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/2.578, allocations: 246 kB / 0.7463 GB, free: 11.06 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008496/2.587, allocations: 6.157 MB / 0.7524 GB, free: 5.777 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/2.587, allocations: 78.47 kB / 0.7524 GB, free: 5.746 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/2.587, allocations: 30.73 kB / 0.7525 GB, free: 5.734 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4029/2.99, allocations: 154.7 MB / 0.9036 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/2.99, allocations: 42.56 kB / 0.9036 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/2.99, allocations: 0 / 0.9036 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0008505/2.991, allocations: 248.2 kB / 0.9038 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/2.991, allocations: 81.11 kB / 0.9039 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/2.992, allocations: 284 kB / 0.9042 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/2.992, allocations: 28.61 kB / 0.9042 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/2.992, allocations: 247.3 kB / 0.9044 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/2.992, allocations: 19.72 kB / 0.9045 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/2.992, allocations: 65.83 kB / 0.9045 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001238/2.992, allocations: 334.8 kB / 0.9048 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/2.992, allocations: 44.45 kB / 0.9049 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/2.992, allocations: 159.1 kB / 0.905 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/2.993, allocations: 210.7 kB / 0.9052 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/2.993, allocations: 1.094 kB / 0.9052 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005501/2.993, allocations: 273.6 kB / 0.9055 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/2.993, allocations: 15.92 kB / 0.9055 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/2.993, allocations: 4 kB / 0.9055 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009062/2.994, allocations: 109 kB / 0.9056 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/2.994, allocations: 53.88 kB / 0.9057 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004939/2.995, allocations: 0.559 MB / 0.9062 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/2.995, allocations: 43.61 kB / 0.9063 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/2.995, allocations: 20.06 kB / 0.9063 GB, free: 8.438 MB / 0.7448 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.0001647/2.995, allocations: 141.3 kB / 0.9064 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/2.995, allocations: 20.92 kB / 0.9064 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005687/2.996, allocations: 178.5 kB / 0.9066 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/2.996, allocations: 4 kB / 0.9066 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/2.996, allocations: 0 / 0.9066 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/2.996, allocations: 4.031 kB / 0.9066 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/2.996, allocations: 301.5 kB / 0.9069 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/2.996, allocations: 4 kB / 0.9069 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/2.996, allocations: 7.984 kB / 0.9069 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006418/2.997, allocations: 99.61 kB / 0.907 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/2.997, allocations: 0 / 0.907 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000412/2.997, allocations: 0.5691 MB / 0.9076 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/2.997, allocations: 0 / 0.9076 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/2.999, allocations: 0.8665 MB / 0.9084 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/2.999, allocations: 104.8 kB / 0.9085 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/2.999, allocations: 7.922 kB / 0.9085 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/2.999, allocations: 8 kB / 0.9085 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/2.999, allocations: 0 / 0.9085 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/2.999, allocations: 11.98 kB / 0.9085 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002307/2.999, allocations: 202 kB / 0.9087 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.8e-07/2.999, allocations: 1.094 kB / 0.9087 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005141/3.004, allocations: 1.674 MB / 0.9104 GB, free: 4.09 MB / 0.7448 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 (4): * Single equations (assignments): 3 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01048/3.015, allocations: 2.557 MB / 0.9129 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005514/3.015, allocations: 131.3 kB / 0.913 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/3.015, allocations: 0 / 0.913 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/3.016, allocations: 48.23 kB / 0.913 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/3.016, allocations: 65 kB / 0.9131 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/3.017, allocations: 0.6856 MB / 0.9138 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/3.018, allocations: 0.7597 MB / 0.9145 GB, free: 124 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002062/3.018, allocations: 50.42 kB / 0.9146 GB, free: 80 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/3.018, allocations: 23.44 kB / 0.9146 GB, free: 56 kB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/3.018, allocations: 0 / 0.9146 GB, free: 56 kB / 0.7448 GB Notification: Performance of Templates: time 0.2865/3.305, allocations: 48.94 MB / 0.9624 GB, free: 436.8 MB / 0.7917 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1)