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.8576/0.8576, allocations: 150.8 MB / 166.6 MB, free: 11.18 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 15.97 kB / 204.7 MB, free: 6.16 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1944, allocations: 31.33 MB / 236 MB, free: 3.871 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA): time 1.636/1.831, allocations: 293.4 MB / 0.5171 GB, free: 8.574 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.5545/2.385, allocations: 190.7 MB / 0.7033 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005273/2.386, allocations: 13.28 kB / 0.7033 GB, free: 2.684 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SwitchValve.mo:36:3-37:55:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SwitchValve.mo:38:3-40:35:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeA.mo:104:3-105:67:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeA.mo:106:3-108:57:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeA.mo:109:3-110:73:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeA.mo:111:3-112:75:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SwitchValve.mo:36:3-37:55:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SwitchValve.mo:38:3-40:35:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002619/2.386, allocations: 59.48 kB / 0.7034 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005797/2.387, allocations: 222.9 kB / 0.7036 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.03202/2.419, allocations: 9.301 MB / 0.7126 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001339/2.42, allocations: 0.9636 MB / 0.7136 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004944/2.421, allocations: 453.3 kB / 0.714 GB, free: 2.309 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/2.421, allocations: 362.1 kB / 0.7144 GB, free: 2.309 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/2.422, allocations: 413.8 kB / 0.7148 GB, free: 2.309 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.573e-05/2.422, allocations: 64.06 kB / 0.7148 GB, free: 2.309 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03815/2.46, allocations: 20.18 MB / 0.7345 GB, free: 84 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003149/2.46, allocations: 171.5 kB / 0.7347 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006276/2.461, allocations: 433.8 kB / 0.7351 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02886/2.49, allocations: 10.48 MB / 0.7453 GB, free: 12.23 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/2.49, allocations: 0 / 0.7453 GB, free: 12.23 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.643e-06/2.49, allocations: 0 / 0.7453 GB, free: 12.23 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.419e-05/2.49, allocations: 4 kB / 0.7453 GB, free: 12.23 MB / 0.573 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.007539/2.497, allocations: 2.289 MB / 0.7476 GB, free: 10.81 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/2.497, allocations: 10.84 kB / 0.7476 GB, free: 10.81 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/2.498, allocations: 97.41 kB / 0.7477 GB, free: 10.77 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008421/2.499, allocations: 459.5 kB / 0.7481 GB, free: 10.45 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/2.499, allocations: 124.9 kB / 0.7482 GB, free: 10.38 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/2.499, allocations: 80.62 kB / 0.7483 GB, free: 10.38 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/2.5, allocations: 0.8807 MB / 0.7492 GB, free: 10.08 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/2.501, allocations: 2.688 kB / 0.7492 GB, free: 10.08 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/2.501, allocations: 37.91 kB / 0.7492 GB, free: 10.07 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/2.501, allocations: 20.12 kB / 0.7492 GB, free: 10.07 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/2.502, allocations: 0.675 MB / 0.7499 GB, free: 9.992 MB / 0.573 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.01238/2.514, allocations: 8.353 MB / 0.7581 GB, free: 1.938 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/2.515, allocations: 211 kB / 0.7583 GB, free: 1.727 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/2.515, allocations: 92.5 kB / 0.7583 GB, free: 1.637 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3976/2.913, allocations: 184.8 MB / 0.9388 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/2.913, allocations: 30.56 kB / 0.9388 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.863e-06/2.913, allocations: 0 / 0.9388 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.002601/2.915, allocations: 0.7457 MB / 0.9395 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/2.915, allocations: 102.8 kB / 0.9396 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009517/2.916, allocations: 0.5845 MB / 0.9402 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/2.916, allocations: 29.7 kB / 0.9402 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/2.917, allocations: 477.8 kB / 0.9407 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.445e-05/2.917, allocations: 77.59 kB / 0.9408 GB, free: 3.051 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/2.917, allocations: 170.3 kB / 0.9409 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001512/2.917, allocations: 362.7 kB / 0.9413 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/2.917, allocations: 137.9 kB / 0.9414 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005971/2.918, allocations: 0.506 MB / 0.9419 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009186/2.919, allocations: 0.7645 MB / 0.9426 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/2.919, allocations: 0 / 0.9426 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001771/2.921, allocations: 0.9097 MB / 0.9435 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/2.921, allocations: 67.39 kB / 0.9436 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/2.921, allocations: 16 kB / 0.9436 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/2.922, allocations: 200.8 kB / 0.9438 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/2.922, allocations: 122.6 kB / 0.9439 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007527/2.923, allocations: 0.7578 MB / 0.9447 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/2.923, allocations: 102.9 kB / 0.9448 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/2.923, allocations: 44 kB / 0.9448 GB, free: 14.64 MB / 0.7917 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.0003072/2.923, allocations: 282 kB / 0.9451 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/2.924, allocations: 63.22 kB / 0.9451 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/2.925, allocations: 0.4942 MB / 0.9456 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/2.925, allocations: 8.078 kB / 0.9456 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/2.925, allocations: 4 kB / 0.9456 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/2.925, allocations: 7.922 kB / 0.9456 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/2.925, allocations: 0.5123 MB / 0.9461 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/2.925, allocations: 4 kB / 0.9461 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/2.925, allocations: 4 kB / 0.9461 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005508/2.926, allocations: 193 kB / 0.9463 GB, free: 13.01 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/2.926, allocations: 4 kB / 0.9463 GB, free: 13 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006873/2.927, allocations: 0.7357 MB / 0.947 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/2.927, allocations: 0 / 0.947 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/2.929, allocations: 1.364 MB / 0.9484 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/2.929, allocations: 152.4 kB / 0.9485 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/2.929, allocations: 8 kB / 0.9485 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/2.929, allocations: 12 kB / 0.9485 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/2.929, allocations: 7.984 kB / 0.9486 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/2.929, allocations: 15.98 kB / 0.9486 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004033/2.93, allocations: 370.8 kB / 0.9489 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.504e-06/2.93, allocations: 0 / 0.9489 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004946/2.934, allocations: 1.615 MB / 0.9505 GB, free: 8.641 MB / 0.7917 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.008302/2.943, allocations: 2.275 MB / 0.9527 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001336/2.944, allocations: 0.5057 MB / 0.9532 GB, free: 6.137 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/2.944, allocations: 4.812 kB / 0.9532 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004313/2.945, allocations: 230.7 kB / 0.9534 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000893/2.946, allocations: 126 kB / 0.9536 GB, free: 5.766 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/2.948, allocations: 1.438 MB / 0.955 GB, free: 4.293 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/2.949, allocations: 0.8935 MB / 0.9558 GB, free: 3.371 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003599/2.949, allocations: 92.94 kB / 0.9559 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/2.949, allocations: 39.44 kB / 0.956 GB, free: 3.242 MB / 0.7917 GB Notification: Performance of SimCode: time 5.41e-07/2.949, allocations: 0 / 0.956 GB, free: 3.242 MB / 0.7917 GB Notification: Performance of Templates: time 0.2242/3.173, allocations: 49.22 MB / 1.004 GB, free: 418.8 MB / 0.7917 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_VolumeA.makefile (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)