Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.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.TestVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes") translateModel(ThermoSysPro.Examples.SimpleExamples.TestVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7363/0.7363, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.533e-05, allocations: 7.984 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 31.98 MB / 236.8 MB, free: 5.441 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.TestVolumes): time 1.453/1.588, allocations: 298.7 MB / 0.5229 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4381/2.026, allocations: 187 MB / 0.7055 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004971/2.027, allocations: 12.56 kB / 0.7055 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005662/2.027, allocations: 283.1 kB / 0.7058 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000894/2.028, allocations: 0.5509 MB / 0.7063 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02166/2.05, allocations: 9.336 MB / 0.7154 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002087/2.052, allocations: 2.093 MB / 0.7175 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006433/2.053, allocations: 0.6957 MB / 0.7181 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006591/2.053, allocations: 0.694 MB / 0.7188 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005812/2.054, allocations: 0.687 MB / 0.7195 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.509e-05/2.054, allocations: 57.73 kB / 0.7196 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02771/2.082, allocations: 20.2 MB / 0.7393 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003749/2.082, allocations: 243.5 kB / 0.7395 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/2.083, allocations: 0.7931 MB / 0.7403 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02009/2.103, allocations: 11.17 MB / 0.7512 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/2.103, allocations: 0 / 0.7512 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.824e-06/2.103, allocations: 0 / 0.7512 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.174e-05/2.103, allocations: 0 / 0.7512 GB, free: 13.83 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 458 * Number of variables: 458 Notification: Performance of Generate backend data structure: time 0.006478/2.11, allocations: 2.797 MB / 0.7539 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/2.11, allocations: 8.281 kB / 0.7539 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003063/2.11, allocations: 190.6 kB / 0.7541 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007635/2.111, allocations: 0.6786 MB / 0.7548 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/2.111, allocations: 97.89 kB / 0.7549 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/2.111, allocations: 129.7 kB / 0.755 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/2.114, allocations: 1.781 MB / 0.7567 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/2.114, allocations: 13.14 kB / 0.7568 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/2.114, allocations: 55.09 kB / 0.7568 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/2.114, allocations: 79.89 kB / 0.7569 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/2.116, allocations: 1.24 MB / 0.7581 GB, free: 10.62 MB / 0.5919 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.0887/2.205, allocations: 51.6 MB / 0.8085 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/2.206, allocations: 0.8517 MB / 0.8093 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009685/2.207, allocations: 0.6377 MB / 0.8099 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2812/2.488, allocations: 151.8 MB / 0.9582 GB, free: 3.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/2.488, allocations: 40.44 kB / 0.9582 GB, free: 3.188 MB / 0.795 GB Notification: Performance of pre-optimization done (n=204): time 3.526e-06/2.488, allocations: 0 / 0.9582 GB, free: 3.188 MB / 0.795 GB Notification: Performance of matching and sorting (n=204): time 0.007729/2.496, allocations: 3.13 MB / 0.9612 GB, free: 20 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/2.496, allocations: 133.1 kB / 0.9614 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009704/2.497, allocations: 0.8565 MB / 0.9622 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/2.497, allocations: 37.69 kB / 0.9622 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/2.498, allocations: 0.6107 MB / 0.9628 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/2.498, allocations: 0.6549 MB / 0.9635 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/2.498, allocations: 164.5 kB / 0.9636 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/2.498, allocations: 301.1 kB / 0.9639 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009473/2.499, allocations: 0.5066 MB / 0.9644 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/2.5, allocations: 0.8822 MB / 0.9653 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/2.503, allocations: 1.525 MB / 0.9668 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/2.503, allocations: 4 kB / 0.9668 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003172/2.506, allocations: 2.029 MB / 0.9688 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/2.506, allocations: 17.23 kB / 0.9688 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/2.506, allocations: 8 kB / 0.9688 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007481/2.513, allocations: 3.356 MB / 0.9721 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/2.514, allocations: 126.5 kB / 0.9722 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/2.516, allocations: 1.862 MB / 0.974 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/2.517, allocations: 218 kB / 0.9742 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/2.517, allocations: 51.98 kB / 0.9743 GB, free: 2.43 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 34 (pipe2.C2.b,pipe2.C1.a,pipe1.C2.b,pipe1.C1.a,puitsP2.C.a,valve5.C2.b,valve5.C1.a,volumeB1.Cs2.b,volumeB1.Cs1.b,volumeB1.Ce2.a,volumeB1.Ce1.a,valve3.C2.b,valve3.C1.a,valve2.C2.b,valve2.C1.a,puitsP1.C.a,valve4.C2.b,valve4.C1.a,volumeA1.Cs2.b,volumeA1.Cs1.b,volumeA1.Ce2.a,volumeA1.Ce1.a,puitsP.C.a,volumeA.Cs2.b,volumeA.Cs1.b,volumeA.Ce2.a,volumeA.Ce1.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,volumeB1.Cs1.a,volumeA1.Ce2.b,volumeA.Ce2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(17,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0004454/2.518, allocations: 304.6 kB / 0.9745 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/2.518, allocations: 134.2 kB / 0.9747 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1691/2.687, allocations: 6.299 MB / 0.9808 GB, free: 459.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003262/2.69, allocations: 2.05 MB / 0.9828 GB, free: 459 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/2.69, allocations: 2.875 kB / 0.9828 GB, free: 459 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/2.69, allocations: 7.969 kB / 0.9828 GB, free: 459 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006076/2.697, allocations: 4.782 MB / 0.9875 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/2.697, allocations: 0 / 0.9875 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/2.697, allocations: 238.3 kB / 0.9877 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004033/2.701, allocations: 1.638 MB / 0.9893 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/2.701, allocations: 39.69 kB / 0.9894 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/2.703, allocations: 2.621 MB / 0.9919 GB, free: 456.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/2.703, allocations: 1.531 kB / 0.9919 GB, free: 456.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004373/2.708, allocations: 3.131 MB / 0.995 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004934/2.708, allocations: 419.8 kB / 0.9954 GB, free: 456 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/2.708, allocations: 33.05 kB / 0.9954 GB, free: 456 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/2.709, allocations: 92.08 kB / 0.9955 GB, free: 456 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/2.709, allocations: 108.6 kB / 0.9956 GB, free: 456 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/2.709, allocations: 46.86 kB / 0.9957 GB, free: 456 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007472/2.71, allocations: 0.738 MB / 0.9964 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/2.71, allocations: 0 / 0.9964 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003922/2.714, allocations: 1.843 MB / 0.9982 GB, free: 455.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volumeA.h,volumeA1.h,volumeB1.P,volumeB1.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 (129): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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): 3 systems {(6,14), (6,14), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005546/2.72, allocations: 2.353 MB / 1 GB, free: 455.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003548/2.723, allocations: 2.247 MB / 1.003 GB, free: 455 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.723, allocations: 0.8438 kB / 1.003 GB, free: 455 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001993/2.725, allocations: 1.132 MB / 1.004 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/2.728, allocations: 0.6922 MB / 1.004 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/2.732, allocations: 4.312 MB / 1.009 GB, free: 452.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/2.733, allocations: 1.422 MB / 1.01 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005277/2.733, allocations: 159.5 kB / 1.01 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/2.734, allocations: 90.73 kB / 1.01 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of SimCode: time 4.81e-07/2.734, allocations: 0 / 1.01 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.07425/2.808, allocations: 71.27 MB / 1.08 GB, free: 390.7 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.pipe 2>&1) Environment - environmentSimulation: