Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.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_DynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9802/0.9802, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.017e-05, allocations: 4 kB / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2496, allocations: 31.97 MB / 236.8 MB, free: 5.418 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_DynamicOnePhaseFlowPipe): time 2.01/2.26, allocations: 297.1 MB / 0.5214 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6761/2.936, allocations: 195.3 MB / 0.7121 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008838/2.937, allocations: 25.78 kB / 0.7122 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005004/2.937, allocations: 200.2 kB / 0.7124 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/2.939, allocations: 0.8317 MB / 0.7132 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04374/2.983, allocations: 11.28 MB / 0.7242 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.011/2.994, allocations: 10.94 MB / 0.7349 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007338/3.001, allocations: 3.402 MB / 0.7382 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007081/3.008, allocations: 2.728 MB / 0.7409 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008961/3.017, allocations: 4.19 MB / 0.7449 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004008/3.021, allocations: 392.1 kB / 0.7453 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06421/3.086, allocations: 23.69 MB / 0.7685 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005982/3.092, allocations: 2.588 MB / 0.771 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01197/3.104, allocations: 3.043 MB / 0.774 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05645/3.16, allocations: 19.04 MB / 0.7926 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/3.16, allocations: 0 / 0.7926 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.878e-06/3.16, allocations: 4 kB / 0.7926 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003785/3.161, allocations: 3.938 kB / 0.7926 GB, free: 9.094 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1372 * Number of variables: 1372 Notification: Performance of Generate backend data structure: time 0.02915/3.19, allocations: 7.163 MB / 0.7996 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/3.19, allocations: 12.03 kB / 0.7996 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/3.193, allocations: 0.541 MB / 0.8001 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/3.201, allocations: 2.524 MB / 0.8026 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001461/3.202, allocations: 0.9945 MB / 0.8035 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00298/3.205, allocations: 0.5 MB / 0.804 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02658/3.232, allocations: 9.361 MB / 0.8132 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002989/3.232, allocations: 6.906 kB / 0.8132 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002764/3.235, allocations: 216 kB / 0.8134 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/3.235, allocations: 128 kB / 0.8135 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03524/3.27, allocations: 22.96 MB / 0.8359 GB, free: 12.5 MB / 0.6544 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.1031/3.373, allocations: 43.73 MB / 0.8786 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03794/3.411, allocations: 11.87 MB / 0.8902 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01318/3.425, allocations: 5.281 MB / 0.8954 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8353/4.26, allocations: 291.6 MB / 1.18 GB, free: 238 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/4.26, allocations: 119.8 kB / 1.18 GB, free: 237.9 MB / 0.795 GB Notification: Performance of pre-optimization done (n=807): time 4.662e-05/4.26, allocations: 3.938 kB / 1.18 GB, free: 237.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=807): time 0.05517/4.316, allocations: 20.05 MB / 1.2 GB, free: 221.2 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/4.316, allocations: 217.6 kB / 1.2 GB, free: 221 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/4.319, allocations: 1.857 MB / 1.202 GB, free: 219.1 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.003416/4.323, allocations: 153.7 kB / 1.202 GB, free: 219 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/4.324, allocations: 1.106 MB / 1.203 GB, free: 217.9 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.006014/4.33, allocations: 2.721 MB / 1.206 GB, free: 215.2 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004567/4.335, allocations: 0.548 MB / 1.206 GB, free: 214.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001103/4.335, allocations: 309.1 kB / 1.207 GB, free: 214.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01238/4.347, allocations: 4.218 MB / 1.211 GB, free: 210.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/4.359, allocations: 5.089 MB / 1.216 GB, free: 204.8 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02207/4.381, allocations: 10.12 MB / 1.226 GB, free: 194.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.875e-05/4.381, allocations: 8 kB / 1.226 GB, free: 194.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03987/4.421, allocations: 14.75 MB / 1.24 GB, free: 179.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/4.421, allocations: 63.66 kB / 1.24 GB, free: 179.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.446e-05/4.421, allocations: 20 kB / 1.24 GB, free: 179.4 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1008/4.522, allocations: 27.01 MB / 1.266 GB, free: 152.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007897/4.53, allocations: 1.131 MB / 1.268 GB, free: 151.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03988/4.57, allocations: 41.45 MB / 1.308 GB, free: 107.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008173/4.578, allocations: 0.7606 MB / 1.309 GB, free: 106.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002482/4.581, allocations: 347.8 kB / 1.309 GB, free: 106.2 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 17 (sourceP1.C.ftype,dynamicOnePhaseFlowPipe1.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.C.ftype,switchValve.C2.diff_on_1,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,switchValve.fluid,nONL.yL.signal,echelon.yL.signal,sourceP.fluid1,dynamicOnePhaseFlowPipe1.C1.diff_on_2,dynamicOnePhaseFlowPipe1.C2.diff_on_1,dynamicOnePhaseFlowPipe.C1.diff_on_2,sourceP.C.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (351): * Single equations (assignments): 327 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(32,214), (33,218)} Notification: Performance of prepare postOptimizeDAE: time 0.004562/4.585, allocations: 1.277 MB / 1.31 GB, free: 104.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/4.587, allocations: 431.1 kB / 1.311 GB, free: 104.5 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03841/4.625, allocations: 16.65 MB / 1.327 GB, free: 87.79 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001238/4.625, allocations: 82.12 kB / 1.327 GB, free: 87.71 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.863e-05/4.625, allocations: 8 kB / 1.327 GB, free: 87.7 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000277/4.626, allocations: 35.86 kB / 1.327 GB, free: 87.66 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0681/4.694, allocations: 24.78 MB / 1.351 GB, free: 62.85 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.359e-05/4.694, allocations: 0 / 1.351 GB, free: 62.85 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006251/4.7, allocations: 0.9481 MB / 1.352 GB, free: 61.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09888/4.799, allocations: 21.36 MB / 1.373 GB, free: 40.68 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002668/4.802, allocations: 235.9 kB / 1.373 GB, free: 40.45 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2812/5.083, allocations: 41.09 MB / 1.413 GB, free: 410.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/5.083, allocations: 0.8438 kB / 1.413 GB, free: 410.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03443/5.117, allocations: 14.18 MB / 1.427 GB, free: 409.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005738/5.123, allocations: 1.617 MB / 1.429 GB, free: 409.7 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002369/5.126, allocations: 131.2 kB / 1.429 GB, free: 409.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006794/5.132, allocations: 339.6 kB / 1.429 GB, free: 409.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003033/5.135, allocations: 0.5248 MB / 1.43 GB, free: 409.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001368/5.137, allocations: 291.5 kB / 1.43 GB, free: 409.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001754/5.139, allocations: 1.275 MB / 1.431 GB, free: 409.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.2e-07/5.139, allocations: 0 / 1.431 GB, free: 409.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01399/5.153, allocations: 3.838 MB / 1.435 GB, free: 409.4 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (echelon.yL.signal,nONL.yL.signal) * Number of discrete states: 2 (echelon.yL.signal,nONL.yL.signal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(32,205), (33,208)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01389/5.166, allocations: 3.204 MB / 1.438 GB, free: 409.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.03079/5.197, allocations: 13.63 MB / 1.452 GB, free: 406.2 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/5.197, allocations: 3.5 kB / 1.452 GB, free: 406.2 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.02/5.217, allocations: 8.563 MB / 1.46 GB, free: 402 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0128/5.23, allocations: 0.8899 MB / 1.461 GB, free: 401.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0359/5.266, allocations: 13.79 MB / 1.474 GB, free: 393.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0037/5.27, allocations: 2.773 MB / 1.477 GB, free: 391.2 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.006927/5.277, allocations: 1.576 MB / 1.479 GB, free: 390.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002318/5.279, allocations: 327.9 kB / 1.479 GB, free: 389.9 MB / 0.795 GB Notification: Performance of SimCode: time 1.452e-06/5.279, allocations: 0 / 1.479 GB, free: 389.9 MB / 0.795 GB Notification: Performance of Templates: time 0.2543/5.534, allocations: 188.4 MB / 1.663 GB, free: 205.4 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicOnePhaseFlowPipe.pipe 2>&1) Environment - environmentSimulation: