Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.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.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9203/0.9203, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.806e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2079, allocations: 31.98 MB / 236.8 MB, free: 5.414 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.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser): time 1.875/2.083, allocations: 295.6 MB / 0.5199 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6274/2.71, allocations: 188.8 MB / 0.7043 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/2.712, allocations: 11.34 kB / 0.7043 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009605/2.713, allocations: 160.9 kB / 0.7045 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/2.714, allocations: 290.8 kB / 0.7047 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0366/2.751, allocations: 9.206 MB / 0.7137 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001832/2.753, allocations: 0.9774 MB / 0.7147 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000715/2.753, allocations: 355.3 kB / 0.715 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008338/2.754, allocations: 351.4 kB / 0.7154 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006513/2.755, allocations: 321.2 kB / 0.7157 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/2.755, allocations: 29.59 kB / 0.7157 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04714/2.802, allocations: 20.2 MB / 0.7354 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003885/2.802, allocations: 117.3 kB / 0.7355 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/2.804, allocations: 424.2 kB / 0.7359 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03144/2.835, allocations: 10.29 MB / 0.746 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/2.835, allocations: 1.094 kB / 0.746 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.455e-06/2.835, allocations: 0 / 0.746 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.396e-05/2.835, allocations: 0 / 0.746 GB, free: 15.34 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.007209/2.842, allocations: 2.039 MB / 0.748 GB, free: 14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/2.842, allocations: 10.09 kB / 0.748 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/2.843, allocations: 107.2 kB / 0.7481 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007529/2.844, allocations: 441.9 kB / 0.7485 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/2.844, allocations: 57.64 kB / 0.7486 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/2.844, allocations: 72.77 kB / 0.7486 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/2.845, allocations: 0.8194 MB / 0.7494 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/2.845, allocations: 2.062 kB / 0.7494 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/2.845, allocations: 36.39 kB / 0.7495 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/2.845, allocations: 30.98 kB / 0.7495 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008421/2.846, allocations: 0.5308 MB / 0.75 GB, free: 13.29 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.01777/2.864, allocations: 12.41 MB / 0.7621 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/2.865, allocations: 267.4 kB / 0.7624 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/2.865, allocations: 200.4 kB / 0.7626 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09912/2.964, allocations: 54.29 MB / 0.8156 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/2.964, allocations: 34.56 kB / 0.8156 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=86): time 2.575e-06/2.964, allocations: 1.859 kB / 0.8156 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86): time 0.002177/2.966, allocations: 0.956 MB / 0.8166 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/2.966, allocations: 55.41 kB / 0.8166 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007024/2.967, allocations: 492.8 kB / 0.8171 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/2.967, allocations: 25.7 kB / 0.8171 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/2.967, allocations: 381.7 kB / 0.8175 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/2.968, allocations: 279.8 kB / 0.8177 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-05/2.968, allocations: 79.05 kB / 0.8178 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001463/2.968, allocations: 372.6 kB / 0.8182 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/2.968, allocations: 171.1 kB / 0.8183 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/2.968, allocations: 360.1 kB / 0.8187 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007178/2.969, allocations: 0.5887 MB / 0.8193 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/2.969, allocations: 4 kB / 0.8193 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001254/2.97, allocations: 0.729 MB / 0.82 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/2.971, allocations: 12.69 kB / 0.82 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/2.971, allocations: 8 kB / 0.82 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/2.972, allocations: 405.8 kB / 0.8204 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/2.973, allocations: 57.8 kB / 0.8204 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/2.974, allocations: 1.312 MB / 0.8217 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/2.974, allocations: 82.28 kB / 0.8218 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/2.974, allocations: 23.56 kB / 0.8218 GB, free: 7.27 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.ftype,sourceP.C.ftype,simpleStaticCondenser.fluid_c,simpleStaticCondenser.fluid_f,sinkP.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(2,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003451/2.975, allocations: 201.9 kB / 0.822 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/2.975, allocations: 67.2 kB / 0.8221 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/2.977, allocations: 1.828 MB / 0.8239 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001058/2.978, allocations: 0.8045 MB / 0.8246 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/2.978, allocations: 0 / 0.8246 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/2.978, allocations: 3.984 kB / 0.8246 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/2.981, allocations: 2.216 MB / 0.8268 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/2.981, allocations: 3.984 kB / 0.8268 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/2.981, allocations: 89.09 kB / 0.8269 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/2.982, allocations: 316.6 kB / 0.8272 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/2.982, allocations: 14.25 kB / 0.8272 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009704/2.983, allocations: 1.331 MB / 0.8285 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/2.983, allocations: 0 / 0.8285 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/2.985, allocations: 0.9919 MB / 0.8295 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/2.985, allocations: 233.5 kB / 0.8297 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-05/2.985, allocations: 18.14 kB / 0.8297 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/2.985, allocations: 20.12 kB / 0.8297 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/2.986, allocations: 40.28 kB / 0.8298 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/2.986, allocations: 20.12 kB / 0.8298 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004441/2.986, allocations: 394.5 kB / 0.8302 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/2.986, allocations: 0 / 0.8302 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004883/2.991, allocations: 1.493 MB / 0.8316 GB, free: 15.3 MB / 0.67 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008777/3, allocations: 2.176 MB / 0.8338 GB, free: 13.45 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001603/3.001, allocations: 0.9623 MB / 0.8347 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/3.001, allocations: 0 / 0.8347 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006418/3.002, allocations: 399.7 kB / 0.8351 GB, free: 12.45 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/3.004, allocations: 396 kB / 0.8355 GB, free: 12.13 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/3.007, allocations: 2.058 MB / 0.8375 GB, free: 10.23 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/3.008, allocations: 1.045 MB / 0.8385 GB, free: 9.164 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004882/3.009, allocations: 112.7 kB / 0.8386 GB, free: 9.055 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/3.009, allocations: 55.44 kB / 0.8386 GB, free: 9 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/3.009, allocations: 9.859 kB / 0.8387 GB, free: 8.992 MB / 0.67 GB Notification: Performance of Templates: time 0.08286/3.092, allocations: 55.35 MB / 0.8927 GB, free: 1.953 MB / 0.7169 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) Environment - environmentSimulation: