Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.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.Book.SimpleExamples.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7344/0.7344, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.199e-05/1.207e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 31.97 MB / 236.8 MB, free: 5.469 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.Book.SimpleExamples.Volume.TestVolumeATh): time 1.433/1.567, allocations: 295.2 MB / 0.5195 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.167/1.734, allocations: 186 MB / 0.7011 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/1.734, allocations: 4 kB / 0.7011 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003962/1.735, allocations: 175.1 kB / 0.7013 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004028/1.735, allocations: 246.3 kB / 0.7015 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2771/2.012, allocations: 9.009 MB / 0.7103 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001056/2.013, allocations: 0.8885 MB / 0.7112 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/2.014, allocations: 321.7 kB / 0.7115 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/2.014, allocations: 309.3 kB / 0.7118 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/2.014, allocations: 316.5 kB / 0.7121 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/2.014, allocations: 25.78 kB / 0.7121 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02504/2.039, allocations: 17.38 MB / 0.7291 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002037/2.04, allocations: 120.2 kB / 0.7292 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004481/2.04, allocations: 371.6 kB / 0.7296 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01764/2.058, allocations: 9.309 MB / 0.7387 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/2.058, allocations: 4.938 kB / 0.7387 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/2.058, allocations: 0 / 0.7387 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.836e-05/2.058, allocations: 0 / 0.7387 GB, free: 2.203 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.004322/2.062, allocations: 1.901 MB / 0.7405 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/2.062, allocations: 8.062 kB / 0.7405 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/2.062, allocations: 85.53 kB / 0.7406 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/2.063, allocations: 418.9 kB / 0.741 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/2.063, allocations: 41.5 kB / 0.7411 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/2.063, allocations: 58.91 kB / 0.7411 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000924/2.064, allocations: 0.7584 MB / 0.7419 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/2.064, allocations: 0 / 0.7419 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/2.064, allocations: 25.84 kB / 0.7419 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/2.064, allocations: 34.3 kB / 0.7419 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/2.065, allocations: 499.8 kB / 0.7424 GB, free: 224 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.003484/2.068, allocations: 4.564 MB / 0.7468 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/2.069, allocations: 328 kB / 0.7472 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/2.069, allocations: 233.8 kB / 0.7474 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2832/2.352, allocations: 151.8 MB / 0.8956 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/2.353, allocations: 34.48 kB / 0.8956 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=81): time 2.054e-06/2.353, allocations: 0 / 0.8956 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=81): time 0.002967/2.355, allocations: 1.159 MB / 0.8968 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/2.356, allocations: 88.72 kB / 0.8969 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/2.356, allocations: 0.5016 MB / 0.8973 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/2.356, allocations: 33.2 kB / 0.8974 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/2.356, allocations: 318.2 kB / 0.8977 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/2.356, allocations: 267.1 kB / 0.8979 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/2.357, allocations: 73.66 kB / 0.898 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001393/2.357, allocations: 376.2 kB / 0.8984 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/2.357, allocations: 168.2 kB / 0.8985 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/2.357, allocations: 351.3 kB / 0.8989 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/2.358, allocations: 0.5652 MB / 0.8994 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/2.358, allocations: 0 / 0.8994 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001364/2.36, allocations: 0.7926 MB / 0.9002 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/2.36, allocations: 17.39 kB / 0.9002 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/2.36, allocations: 4 kB / 0.9002 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/2.362, allocations: 0.7632 MB / 0.9009 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/2.362, allocations: 45.78 kB / 0.901 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/2.363, allocations: 1.527 MB / 0.9025 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/2.364, allocations: 78.52 kB / 0.9026 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/2.364, allocations: 23.62 kB / 0.9026 GB, free: 10.94 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.0002281/2.364, allocations: 205.3 kB / 0.9028 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.489e-05/2.364, allocations: 67.09 kB / 0.9028 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/2.366, allocations: 1.219 MB / 0.904 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001139/2.367, allocations: 0.8785 MB / 0.9049 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/2.367, allocations: 7.938 kB / 0.9049 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/2.367, allocations: 3.984 kB / 0.9049 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/2.37, allocations: 2.55 MB / 0.9074 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/2.37, allocations: 4 kB / 0.9074 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/2.371, allocations: 136.5 kB / 0.9075 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/2.372, allocations: 0.5788 MB / 0.9081 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/2.372, allocations: 26.11 kB / 0.9081 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/2.373, allocations: 1.48 MB / 0.9096 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.373, allocations: 10.91 kB / 0.9096 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/2.375, allocations: 1.547 MB / 0.9111 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/2.375, allocations: 244.8 kB / 0.9113 GB, free: 3.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.842e-05/2.375, allocations: 23.05 kB / 0.9113 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/2.376, allocations: 44.98 kB / 0.9114 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/2.376, allocations: 66.39 kB / 0.9114 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/2.376, allocations: 23.69 kB / 0.9115 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004107/2.376, allocations: 434 kB / 0.9119 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/2.376, allocations: 0 / 0.9119 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003472/2.38, allocations: 1.494 MB / 0.9133 GB, free: 2.074 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.006577/2.386, allocations: 2.19 MB / 0.9155 GB, free: 196 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00166/2.388, allocations: 0.9705 MB / 0.9164 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/2.388, allocations: 5.188 kB / 0.9164 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000887/2.389, allocations: 484.7 kB / 0.9169 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/2.391, allocations: 314.8 kB / 0.9172 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/2.394, allocations: 2.197 MB / 0.9193 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/2.394, allocations: 1.038 MB / 0.9204 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000288/2.394, allocations: 80.72 kB / 0.9204 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/2.395, allocations: 55.94 kB / 0.9205 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of SimCode: time 4.21e-07/2.395, allocations: 1.859 kB / 0.9205 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of Templates: time 0.06693/2.461, allocations: 52.73 MB / 0.972 GB, free: 7.172 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.pipe 2>&1) Environment - environmentSimulation: