Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.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.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh") translateModel(ThermoSysPro.Examples.SimpleExamples.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7325/0.7325, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.442e-05/1.444e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1353, allocations: 31.98 MB / 236.8 MB, free: 5.445 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestVolumeATh): time 1.423/1.558, allocations: 295.3 MB / 0.5196 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1741/1.732, allocations: 186 MB / 0.7012 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/1.732, allocations: 8 kB / 0.7012 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004446/1.733, allocations: 179.1 kB / 0.7014 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000533/1.733, allocations: 250.3 kB / 0.7016 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2814/2.015, allocations: 9.008 MB / 0.7104 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001048/2.016, allocations: 0.8868 MB / 0.7113 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/2.016, allocations: 325.6 kB / 0.7116 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/2.017, allocations: 306.4 kB / 0.7119 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/2.017, allocations: 317.5 kB / 0.7122 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/2.017, allocations: 23.44 kB / 0.7122 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02584/2.043, allocations: 17.38 MB / 0.7292 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002184/2.043, allocations: 120.8 kB / 0.7293 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004745/2.043, allocations: 372.7 kB / 0.7297 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01842/2.062, allocations: 9.312 MB / 0.7388 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/2.062, allocations: 0 / 0.7388 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.386e-06/2.062, allocations: 3.844 kB / 0.7388 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.448e-06/2.062, allocations: 4.406 kB / 0.7388 GB, free: 2.043 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004238/2.066, allocations: 1.901 MB / 0.7406 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/2.066, allocations: 15.09 kB / 0.7406 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/2.066, allocations: 83.59 kB / 0.7407 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/2.067, allocations: 417.3 kB / 0.7411 GB, free: 448 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/2.067, allocations: 43.81 kB / 0.7412 GB, free: 448 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/2.067, allocations: 53.94 kB / 0.7412 GB, free: 444 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/2.068, allocations: 0.7588 MB / 0.742 GB, free: 124 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/2.068, allocations: 3.688 kB / 0.742 GB, free: 124 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/2.068, allocations: 23.17 kB / 0.742 GB, free: 124 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/2.068, allocations: 31.27 kB / 0.742 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006611/2.068, allocations: 499.8 kB / 0.7425 GB, free: 60 kB / 0.5762 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.002972/2.071, allocations: 4.538 MB / 0.7469 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/2.072, allocations: 335 kB / 0.7472 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/2.072, allocations: 228 kB / 0.7475 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2837/2.356, allocations: 151.8 MB / 0.8957 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/2.356, allocations: 41.7 kB / 0.8957 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=81): time 2.204e-06/2.356, allocations: 0 / 0.8957 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=81): time 0.002914/2.359, allocations: 1.158 MB / 0.8968 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/2.359, allocations: 81.09 kB / 0.8969 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/2.36, allocations: 0.5043 MB / 0.8974 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/2.36, allocations: 29.27 kB / 0.8974 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/2.36, allocations: 319.3 kB / 0.8977 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/2.36, allocations: 272.2 kB / 0.898 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/2.36, allocations: 67.8 kB / 0.8981 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001234/2.36, allocations: 376.3 kB / 0.8984 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/2.36, allocations: 172 kB / 0.8986 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/2.361, allocations: 347.3 kB / 0.8989 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/2.362, allocations: 0.5631 MB / 0.8995 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/2.362, allocations: 4 kB / 0.8995 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001307/2.363, allocations: 0.7925 MB / 0.9003 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/2.363, allocations: 9.094 kB / 0.9003 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/2.363, allocations: 4.406 kB / 0.9003 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/2.365, allocations: 0.7678 MB / 0.901 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/2.365, allocations: 41.48 kB / 0.9011 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/2.367, allocations: 1.53 MB / 0.9026 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/2.367, allocations: 82.52 kB / 0.9026 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/2.367, allocations: 19.88 kB / 0.9026 GB, free: 10.64 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 14 (lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,sourceP2.C.b,sourceQ.C.b,controlValve2.C2.b,controlValve2.C1.a,controlValve1.C2.b,controlValve1.C1.a,sink.C.a,volumeATh.Cs2.b,volumeATh.Cs1.b,volumeATh.Ce2.a,volumeATh.Ce1.a,volumeATh.Cs2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002168/2.367, allocations: 208.5 kB / 0.9028 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/2.367, allocations: 63.09 kB / 0.9029 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/2.369, allocations: 1.22 MB / 0.9041 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001143/2.37, allocations: 0.8819 MB / 0.905 GB, free: 9 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/2.37, allocations: 0 / 0.905 GB, free: 9 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/2.37, allocations: 3.984 kB / 0.905 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/2.373, allocations: 2.557 MB / 0.9075 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/2.373, allocations: 8 kB / 0.9075 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/2.374, allocations: 136.5 kB / 0.9076 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/2.375, allocations: 0.5778 MB / 0.9082 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/2.375, allocations: 26.98 kB / 0.9082 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/2.376, allocations: 1.48 MB / 0.9096 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/2.376, allocations: 4 kB / 0.9096 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/2.378, allocations: 1.558 MB / 0.9112 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/2.378, allocations: 244.6 kB / 0.9114 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/2.378, allocations: 28.98 kB / 0.9114 GB, free: 3.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/2.379, allocations: 38.83 kB / 0.9115 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/2.379, allocations: 65.61 kB / 0.9115 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/2.379, allocations: 31.38 kB / 0.9116 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003985/2.379, allocations: 426.2 kB / 0.912 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/2.379, allocations: 4 kB / 0.912 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003612/2.383, allocations: 1.498 MB / 0.9134 GB, free: 1.766 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 1 (volumeATh.h) * 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 (72): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005272/2.388, allocations: 2.177 MB / 0.9155 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001605/2.39, allocations: 0.9718 MB / 0.9165 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/2.39, allocations: 5.484 kB / 0.9165 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008266/2.391, allocations: 483.3 kB / 0.917 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/2.393, allocations: 311 kB / 0.9173 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/2.395, allocations: 2.195 MB / 0.9194 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/2.396, allocations: 1.04 MB / 0.9204 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000262/2.396, allocations: 84.56 kB / 0.9205 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/2.396, allocations: 52 kB / 0.9206 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of SimCode: time 2.8e-07/2.396, allocations: 0 / 0.9206 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of Templates: time 0.06261/2.459, allocations: 52.73 MB / 0.972 GB, free: 6.859 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumeATh.pipe 2>&1) Environment - environmentSimulation: