Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.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.TestDiffusion_VolumeA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8878/0.8878, allocations: 150.8 MB / 166.1 MB, free: 15.46 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.927e-05, allocations: 4 kB / 204.8 MB, free: 10.08 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 31.97 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.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA): time 1.837/2.052, allocations: 295.1 MB / 0.5194 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6712/2.723, allocations: 188.4 MB / 0.7034 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007518/2.724, allocations: 19.72 kB / 0.7034 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002337/2.724, allocations: 61.09 kB / 0.7035 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007852/2.725, allocations: 217.3 kB / 0.7037 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03387/2.759, allocations: 9.48 MB / 0.7129 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00136/2.76, allocations: 0.9473 MB / 0.7139 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005137/2.761, allocations: 417.5 kB / 0.7143 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/2.761, allocations: 314.5 kB / 0.7146 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/2.762, allocations: 366.8 kB / 0.7149 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.048e-05/2.762, allocations: 45.12 kB / 0.715 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04212/2.804, allocations: 20.24 MB / 0.7347 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/2.804, allocations: 143.5 kB / 0.7349 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007188/2.805, allocations: 421.8 kB / 0.7353 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03413/2.839, allocations: 10.38 MB / 0.7454 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/2.839, allocations: 2.625 kB / 0.7454 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.575e-06/2.839, allocations: 0 / 0.7454 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.441e-05/2.839, allocations: 0 / 0.7454 GB, free: 15.26 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.007525/2.847, allocations: 2.112 MB / 0.7475 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/2.847, allocations: 11.31 kB / 0.7475 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/2.847, allocations: 106.9 kB / 0.7476 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007241/2.848, allocations: 465.9 kB / 0.748 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/2.848, allocations: 120.7 kB / 0.7481 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/2.848, allocations: 81 kB / 0.7482 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/2.85, allocations: 0.8789 MB / 0.7491 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/2.85, allocations: 4.625 kB / 0.7491 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-05/2.85, allocations: 35.97 kB / 0.7491 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/2.85, allocations: 23.62 kB / 0.7491 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/2.851, allocations: 0.6714 MB / 0.7498 GB, free: 13.04 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.01114/2.862, allocations: 8.352 MB / 0.7579 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/2.863, allocations: 214.7 kB / 0.7581 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/2.863, allocations: 82.53 kB / 0.7582 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.374/3.237, allocations: 186.4 MB / 0.9403 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/3.237, allocations: 37 kB / 0.9403 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 2.675e-06/3.237, allocations: 4 kB / 0.9403 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.002684/3.24, allocations: 0.7415 MB / 0.941 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/3.24, allocations: 111.4 kB / 0.9411 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/3.24, allocations: 0.5834 MB / 0.9417 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/3.24, allocations: 31.2 kB / 0.9417 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/3.241, allocations: 468.8 kB / 0.9422 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.689e-05/3.241, allocations: 88.89 kB / 0.9423 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/3.241, allocations: 79.47 kB / 0.9424 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000144/3.241, allocations: 359.8 kB / 0.9427 GB, free: 184 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/3.241, allocations: 135.2 kB / 0.9428 GB, free: 92 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/3.242, allocations: 0.5069 MB / 0.9433 GB, free: 15.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007637/3.243, allocations: 0.765 MB / 0.9441 GB, free: 14.69 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/3.243, allocations: 8 kB / 0.9441 GB, free: 14.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001637/3.244, allocations: 0.9019 MB / 0.945 GB, free: 14.02 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/3.244, allocations: 71.12 kB / 0.945 GB, free: 13.94 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/3.244, allocations: 12 kB / 0.945 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006615/3.245, allocations: 209.2 kB / 0.9452 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/3.245, allocations: 114.8 kB / 0.9453 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007582/3.246, allocations: 0.763 MB / 0.9461 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/3.247, allocations: 107 kB / 0.9462 GB, free: 12.87 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/3.247, allocations: 39.34 kB / 0.9462 GB, free: 12.84 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 22 (volumeA.Cs1.ftype,volumeA.Cs2.ftype,volumeA.Cs2.diff_on_2,volumeA.Ce2.ftype,volumeA.Ce2.diff_on_1,sourcePQ1.C.ftype,volumeA.fluids[1],switchValve.C2.diff_on_1,volumeA.Cs1.diff_on_2,sink1.fluid,switchValve.fluid,switchValve1.fluid,constante1.yL.signal,constante.yL.signal,volumeA.fluid1,sourcePQ1.fluid1,volumeA.Cs1.diff_on_1,switchValve1.C2.diff_on_1,volumeA.Cs2.diff_on_1,volumeA.Ce2.diff_on_2,volumeA.Ce1.diff_on_2,sourcePQ1.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 2 * 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 {(4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003438/3.247, allocations: 289.4 kB / 0.9465 GB, free: 12.59 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/3.247, allocations: 59.25 kB / 0.9466 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/3.248, allocations: 0.5 MB / 0.947 GB, free: 12.13 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/3.248, allocations: 8 kB / 0.9471 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/3.248, allocations: 0 / 0.9471 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/3.248, allocations: 0 / 0.9471 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/3.249, allocations: 0.5193 MB / 0.9476 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/3.249, allocations: 4 kB / 0.9476 GB, free: 11.67 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/3.249, allocations: 14.84 kB / 0.9476 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/3.25, allocations: 181.5 kB / 0.9478 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/3.25, allocations: 7.984 kB / 0.9478 GB, free: 11.51 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006475/3.25, allocations: 0.7363 MB / 0.9485 GB, free: 10.83 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/3.25, allocations: 4 kB / 0.9485 GB, free: 10.83 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/3.251, allocations: 0.566 MB / 0.949 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/3.251, allocations: 157.8 kB / 0.9492 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/3.251, allocations: 5.062 kB / 0.9492 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/3.252, allocations: 7 kB / 0.9492 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/3.252, allocations: 9.953 kB / 0.9492 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/3.252, allocations: 13.23 kB / 0.9492 GB, free: 10.14 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004619/3.252, allocations: 363.8 kB / 0.9496 GB, free: 9.863 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/3.252, allocations: 0 / 0.9496 GB, free: 9.863 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004881/3.257, allocations: 1.554 MB / 0.9511 GB, free: 8.418 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (constante.yL.signal,constante1.yL.signal) * Number of discrete states: 2 (constante.yL.signal,constante1.yL.signal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 2 * 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 {(4,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008126/3.265, allocations: 2.27 MB / 0.9533 GB, free: 6.465 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001363/3.267, allocations: 0.5086 MB / 0.9538 GB, free: 6.059 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/3.267, allocations: 0 / 0.9538 GB, free: 6.059 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/3.267, allocations: 214.1 kB / 0.954 GB, free: 5.852 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008755/3.268, allocations: 129.8 kB / 0.9541 GB, free: 5.762 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/3.27, allocations: 1.301 MB / 0.9554 GB, free: 4.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/3.271, allocations: 0.8993 MB / 0.9563 GB, free: 3.574 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003448/3.271, allocations: 88.94 kB / 0.9564 GB, free: 3.488 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/3.271, allocations: 39.44 kB / 0.9564 GB, free: 3.449 MB / 0.795 GB Notification: Performance of SimCode: time 9.12e-07/3.271, allocations: 0 / 0.9564 GB, free: 3.449 MB / 0.795 GB Notification: Performance of Templates: time 0.4629/3.734, allocations: 48.35 MB / 1.004 GB, free: 239 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.pipe 2>&1) Environment - environmentSimulation: