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.8599/0.8599, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.0002597, allocations: 15.98 kB / 204.7 MB, free: 6.137 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1814, allocations: 31.33 MB / 236 MB, free: 3.902 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.Examples.SimpleExamples.TestDiaphragm): time 1.796/1.977, allocations: 292 MB / 0.5156 GB, free: 10.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.07206/2.049, allocations: 37.8 MB / 0.5525 GB, free: 4.422 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/2.05, allocations: 0 / 0.5525 GB, free: 4.422 MB / 442.7 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.000608/2.05, allocations: 92.66 kB / 0.5526 GB, free: 4.332 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000547/2.051, allocations: 79.38 kB / 0.5527 GB, free: 4.254 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03356/2.085, allocations: 7.208 MB / 0.5597 GB, free: 13.05 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00078/2.085, allocations: 338.8 kB / 0.56 GB, free: 12.71 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/2.086, allocations: 116.6 kB / 0.5602 GB, free: 12.6 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/2.086, allocations: 131.4 kB / 0.5603 GB, free: 12.47 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/2.086, allocations: 115.4 kB / 0.5604 GB, free: 12.36 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/2.086, allocations: 16 kB / 0.5604 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03899/2.125, allocations: 17.8 MB / 0.5778 GB, free: 10.52 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/2.125, allocations: 31.86 kB / 0.5778 GB, free: 10.49 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/2.126, allocations: 143.3 kB / 0.578 GB, free: 10.35 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01856/2.144, allocations: 8.48 MB / 0.5862 GB, free: 1.848 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/2.144, allocations: 0 / 0.5862 GB, free: 1.848 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.783e-06/2.144, allocations: 0 / 0.5862 GB, free: 1.848 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/2.144, allocations: 0 / 0.5862 GB, free: 1.848 MB / 474.7 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.003904/2.148, allocations: 1.459 MB / 0.5877 GB, free: 348 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/2.148, allocations: 8.031 kB / 0.5877 GB, free: 340 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/2.148, allocations: 23.72 kB / 0.5877 GB, free: 316 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/2.149, allocations: 238.5 kB / 0.5879 GB, free: 36 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/2.149, allocations: 12.44 kB / 0.5879 GB, free: 24 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/2.149, allocations: 24 kB / 0.588 GB, free: 0 / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/2.149, allocations: 309.1 kB / 0.5882 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/2.149, allocations: 7.938 kB / 0.5883 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/2.149, allocations: 8 kB / 0.5883 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/2.149, allocations: 19.98 kB / 0.5883 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/2.149, allocations: 173 kB / 0.5884 GB, free: 15.46 MB / 490.7 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.03748/2.187, allocations: 18.05 MB / 0.6061 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/2.187, allocations: 150.5 kB / 0.6062 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/2.188, allocations: 88.84 kB / 0.6063 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1632/2.351, allocations: 77.47 MB / 0.682 GB, free: 5.023 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/2.351, allocations: 34.55 kB / 0.682 GB, free: 4.98 MB / 0.573 GB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/2.351, allocations: 0 / 0.682 GB, free: 4.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=34): time 0.0009782/2.352, allocations: 431.3 kB / 0.6824 GB, free: 4.531 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/2.352, allocations: 81.11 kB / 0.6825 GB, free: 4.434 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/2.352, allocations: 219.1 kB / 0.6827 GB, free: 4.211 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/2.352, allocations: 29.7 kB / 0.6827 GB, free: 4.176 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/2.352, allocations: 156.4 kB / 0.6829 GB, free: 4.02 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.057e-05/2.352, allocations: 110.3 kB / 0.683 GB, free: 3.91 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/2.352, allocations: 45.7 kB / 0.683 GB, free: 3.859 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001238/2.353, allocations: 334.8 kB / 0.6833 GB, free: 3.523 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/2.353, allocations: 75.97 kB / 0.6834 GB, free: 3.449 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/2.353, allocations: 135.4 kB / 0.6835 GB, free: 3.297 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/2.353, allocations: 225.3 kB / 0.6837 GB, free: 3.059 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/2.353, allocations: 0 / 0.6837 GB, free: 3.059 MB / 0.573 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004585/2.354, allocations: 305.9 kB / 0.684 GB, free: 2.75 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/2.354, allocations: 7.938 kB / 0.684 GB, free: 2.742 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/2.354, allocations: 0 / 0.684 GB, free: 2.742 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009213/2.355, allocations: 144.8 kB / 0.6842 GB, free: 2.598 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/2.355, allocations: 16 kB / 0.6842 GB, free: 2.582 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005524/2.355, allocations: 0.6087 MB / 0.6848 GB, free: 1.949 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/2.355, allocations: 39.55 kB / 0.6848 GB, free: 1.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/2.355, allocations: 8 kB / 0.6848 GB, free: 1.902 MB / 0.573 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.000124/2.356, allocations: 137.8 kB / 0.685 GB, free: 1.758 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/2.356, allocations: 19.72 kB / 0.685 GB, free: 1.738 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008859/2.357, allocations: 0.6031 MB / 0.6856 GB, free: 1.062 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005171/2.357, allocations: 234.3 kB / 0.6858 GB, free: 0.8242 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/2.357, allocations: 3.938 kB / 0.6858 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/2.357, allocations: 0 / 0.6858 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/2.358, allocations: 0.7383 MB / 0.6865 GB, free: 24 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/2.358, allocations: 0 / 0.6865 GB, free: 24 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/2.358, allocations: 19.98 kB / 0.6865 GB, free: 4 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.17/2.528, allocations: 129.3 kB / 0.6867 GB, free: 222.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/2.528, allocations: 3.188 kB / 0.6867 GB, free: 222.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004407/2.529, allocations: 0.6416 MB / 0.6873 GB, free: 222.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.529, allocations: 2.094 kB / 0.6873 GB, free: 222.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/2.53, allocations: 1.047 MB / 0.6883 GB, free: 221.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/2.53, allocations: 107.3 kB / 0.6884 GB, free: 221.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/2.53, allocations: 13.47 kB / 0.6884 GB, free: 221.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/2.53, allocations: 9.219 kB / 0.6884 GB, free: 221.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/2.53, allocations: 10.23 kB / 0.6885 GB, free: 221.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/2.53, allocations: 3.344 kB / 0.6885 GB, free: 221.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000224/2.531, allocations: 239 kB / 0.6887 GB, free: 221.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.31e-07/2.531, allocations: 0 / 0.6887 GB, free: 221.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003252/2.534, allocations: 1.264 MB / 0.6899 GB, free: 221.2 MB / 0.573 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.005913/2.54, allocations: 1.819 MB / 0.6917 GB, free: 221.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006702/2.54, allocations: 251.5 kB / 0.6919 GB, free: 221.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/2.54, allocations: 0 / 0.6919 GB, free: 221.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002902/2.541, allocations: 94.39 kB / 0.692 GB, free: 221.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/2.542, allocations: 121.8 kB / 0.6921 GB, free: 221.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/2.543, allocations: 0.7914 MB / 0.6929 GB, free: 220.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/2.543, allocations: 0.7763 MB / 0.6937 GB, free: 219.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00016/2.543, allocations: 24.5 kB / 0.6937 GB, free: 219.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/2.543, allocations: 22.03 kB / 0.6937 GB, free: 219.9 MB / 0.573 GB Notification: Performance of SimCode: time 6.91e-07/2.543, allocations: 2.25 kB / 0.6937 GB, free: 219.9 MB / 0.573 GB Notification: Performance of Templates: time 0.04823/2.591, allocations: 43.06 MB / 0.7358 GB, free: 198.3 MB / 0.573 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)