Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9481/0.9481, allocations: 150.9 MB / 166 MB, free: 14.67 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002704, allocations: 15.97 kB / 204 MB, free: 10.15 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, allocations: 31.33 MB / 235.3 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.Examples.SimpleExamples.TestDiaphragm): time 1.526/1.659, allocations: 292.6 MB / 0.5156 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04127/1.7, allocations: 37.8 MB / 0.5525 GB, free: 8.207 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/1.7, allocations: 4 kB / 0.5525 GB, free: 8.203 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Diaphragm.mo:30:3-32:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Diaphragm.mo:33:3-35:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003521/1.701, allocations: 91.53 kB / 0.5526 GB, free: 8.113 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/1.701, allocations: 79.38 kB / 0.5527 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01871/1.719, allocations: 7.212 MB / 0.5597 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004784/1.72, allocations: 331 kB / 0.5601 GB, free: 0.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/1.72, allocations: 107.7 kB / 0.5602 GB, free: 404 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/1.72, allocations: 143.3 kB / 0.5603 GB, free: 260 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/1.72, allocations: 107.4 kB / 0.5604 GB, free: 152 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/1.721, allocations: 12 kB / 0.5604 GB, free: 140 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02666/1.747, allocations: 17.81 MB / 0.5778 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/1.747, allocations: 43.78 kB / 0.5778 GB, free: 14.26 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/1.747, allocations: 127.3 kB / 0.578 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01688/1.764, allocations: 8.476 MB / 0.5862 GB, free: 5.641 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.764, allocations: 0 / 0.5862 GB, free: 5.641 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/1.764, allocations: 0 / 0.5862 GB, free: 5.641 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/1.764, allocations: 0 / 0.5862 GB, free: 5.641 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003898/1.768, allocations: 1.466 MB / 0.5877 GB, free: 4.121 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.768, allocations: 8.031 kB / 0.5877 GB, free: 4.113 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/1.768, allocations: 23.72 kB / 0.5877 GB, free: 4.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/1.769, allocations: 236.2 kB / 0.5879 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/1.769, allocations: 16.44 kB / 0.5879 GB, free: 3.805 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/1.769, allocations: 20 kB / 0.588 GB, free: 3.785 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/1.769, allocations: 321.1 kB / 0.5883 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.769, allocations: 3.938 kB / 0.5883 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/1.769, allocations: 4 kB / 0.5883 GB, free: 3.434 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/1.769, allocations: 12 kB / 0.5883 GB, free: 3.422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/1.77, allocations: 177 kB / 0.5885 GB, free: 3.25 MB / 478.1 MB 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.03487/1.804, allocations: 18.06 MB / 0.6061 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/1.805, allocations: 142.6 kB / 0.6062 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/1.805, allocations: 93.58 kB / 0.6063 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1432/1.948, allocations: 77.47 MB / 0.682 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/1.948, allocations: 30.56 kB / 0.682 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/1.948, allocations: 0 / 0.682 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.000964/1.949, allocations: 431.4 kB / 0.6824 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/1.949, allocations: 77.11 kB / 0.6825 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/1.95, allocations: 219.1 kB / 0.6827 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/1.95, allocations: 25.7 kB / 0.6827 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/1.95, allocations: 160.3 kB / 0.6829 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.555e-05/1.95, allocations: 118.3 kB / 0.683 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/1.95, allocations: 53.62 kB / 0.683 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.95, allocations: 334.8 kB / 0.6834 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/1.95, allocations: 71.98 kB / 0.6834 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/1.95, allocations: 130 kB / 0.6835 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/1.951, allocations: 229.3 kB / 0.6838 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.951, allocations: 3.938 kB / 0.6838 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004448/1.951, allocations: 302.1 kB / 0.6841 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/1.951, allocations: 9.188 kB / 0.6841 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.951, allocations: 7.984 kB / 0.6841 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/1.952, allocations: 140.7 kB / 0.6842 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.809e-05/1.952, allocations: 12 kB / 0.6842 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005569/1.953, allocations: 0.6196 MB / 0.6848 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/1.953, allocations: 35.56 kB / 0.6849 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/1.953, allocations: 8 kB / 0.6849 GB, free: 5.68 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000134/1.953, allocations: 137.8 kB / 0.685 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/1.953, allocations: 19.72 kB / 0.685 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009283/1.954, allocations: 0.6031 MB / 0.6856 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005484/1.955, allocations: 225.9 kB / 0.6858 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.955, allocations: 3.938 kB / 0.6858 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.955, allocations: 0 / 0.6858 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/1.956, allocations: 0.7457 MB / 0.6866 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/1.956, allocations: 0 / 0.6866 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/1.956, allocations: 19.94 kB / 0.6866 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007293/1.957, allocations: 140.7 kB / 0.6867 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/1.957, allocations: 3.984 kB / 0.6867 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005009/1.957, allocations: 0.6428 MB / 0.6873 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.957, allocations: 0 / 0.6873 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/1.958, allocations: 341.9 kB / 0.6877 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/1.958, allocations: 108.8 kB / 0.6878 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/1.958, allocations: 15.78 kB / 0.6878 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/1.958, allocations: 16.05 kB / 0.6878 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/1.958, allocations: 7.984 kB / 0.6878 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/1.958, allocations: 4 kB / 0.6878 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002359/1.958, allocations: 234 kB / 0.688 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.958, allocations: 0 / 0.688 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002934/1.961, allocations: 1.214 MB / 0.6892 GB, free: 1.012 MB / 0.5762 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 (13): * Single equations (assignments): 12 * 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.1486/2.11, allocations: 1.825 MB / 0.691 GB, free: 226 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006526/2.111, allocations: 238 kB / 0.6912 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/2.111, allocations: 2.156 kB / 0.6912 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/2.111, allocations: 96.39 kB / 0.6913 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000796/2.112, allocations: 124.9 kB / 0.6914 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/2.113, allocations: 0.6089 MB / 0.692 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/2.113, allocations: 0.7657 MB / 0.6928 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001163/2.113, allocations: 25.11 kB / 0.6928 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/2.113, allocations: 21.69 kB / 0.6928 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/2.113, allocations: 1.469 kB / 0.6928 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.0443/2.157, allocations: 42.9 MB / 0.7347 GB, free: 205.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1)