Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.08756/0.08756, allocations: 11.16 MB / 30.51 MB, free: 4.938 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 103.5 kB / 38.15 MB, free: 7.199 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 160.5 kB / 45.85 MB, free: 10.6 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 177.1 MB / 230.6 MB, free: 6.02 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1472/0.1472, allocations: 17.63 MB / 309.1 MB, free: 2.969 MB / 266.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 390.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/2.991e-05, allocations: 5.688 kB / 390.4 MB, free: 1.543 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Windkessel_4element): time 0.2464/0.2465, allocations: 75.55 MB / 466 MB, free: 50.77 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01776/0.2642, allocations: 19.8 MB / 485.8 MB, free: 48.89 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006199/0.2648, allocations: 21.12 kB / 485.8 MB, free: 48.88 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.2655, allocations: 274.7 kB / 486.1 MB, free: 48.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005529/0.271, allocations: 2.561 MB / 488.6 MB, free: 47.83 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004789/0.2758, allocations: 2.181 MB / 490.8 MB, free: 47.11 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.277, allocations: 1.359 MB / 492.2 MB, free: 46.79 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.2774, allocations: 388.4 kB / 492.5 MB, free: 46.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.2795, allocations: 1.334 MB / 493.9 MB, free: 46.46 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.28, allocations: 0.4897 MB / 494.4 MB, free: 46.37 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.215e-05/0.2801, allocations: 57.06 kB / 494.4 MB, free: 46.37 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.283, allocations: 1.618 MB / 496 MB, free: 45.99 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.2831, allocations: 169 kB / 496.2 MB, free: 45.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.2834, allocations: 251.5 kB / 496.4 MB, free: 45.82 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.286, allocations: 2.459 MB / 498.9 MB, free: 45.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.286, allocations: 0 / 498.9 MB, free: 45.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.286, allocations: 0 / 498.9 MB, free: 45.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.286, allocations: 0 / 498.9 MB, free: 45.05 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00158/0.2876, allocations: 1.051 MB / 500 MB, free: 44.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2876, allocations: 10.47 kB / 500 MB, free: 44.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.2878, allocations: 90.69 kB / 0.4883 GB, free: 44.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.2883, allocations: 387.5 kB / 0.4887 GB, free: 44.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.2883, allocations: 29.78 kB / 0.4887 GB, free: 44.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.2884, allocations: 57.62 kB / 0.4888 GB, free: 44.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.2892, allocations: 0.5626 MB / 0.4893 GB, free: 43.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.2892, allocations: 0 / 0.4893 GB, free: 43.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.2892, allocations: 15.03 kB / 0.4893 GB, free: 43.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.2892, allocations: 9.844 kB / 0.4894 GB, free: 43.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008009/0.2901, allocations: 0.5006 MB / 0.4898 GB, free: 43.36 MB / 394.7 MB 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.002246/0.2923, allocations: 1.532 MB / 0.4913 GB, free: 42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000645/0.2929, allocations: 403.8 kB / 0.4917 GB, free: 41.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.2934, allocations: 245.6 kB / 0.492 GB, free: 41.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.2945, allocations: 0.7362 MB / 0.4927 GB, free: 40.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000413/0.2949, allocations: 287.7 kB / 0.493 GB, free: 40.54 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001916/0.2951, allocations: 41.56 kB / 0.493 GB, free: 40.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 1.623e-06/0.2951, allocations: 0 / 0.493 GB, free: 40.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.001558/0.2966, allocations: 0.6849 MB / 0.4937 GB, free: 39.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.2967, allocations: 57 kB / 0.4937 GB, free: 39.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.297, allocations: 362.8 kB / 0.4941 GB, free: 39.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.297, allocations: 33.7 kB / 0.4941 GB, free: 39.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2971, allocations: 260.6 kB / 0.4943 GB, free: 39.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.2972, allocations: 144.5 kB / 0.4945 GB, free: 39.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.2973, allocations: 99.81 kB / 0.4946 GB, free: 39.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.2974, allocations: 352.1 kB / 0.4949 GB, free: 38.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.2978, allocations: 175.7 kB / 0.4951 GB, free: 38.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.2981, allocations: 276.3 kB / 0.4953 GB, free: 38.25 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: arteries.mass = arteries.tm_start (arteries.m_start[1] + arteries.massOffset = arteries.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.3021, allocations: 1.263 MB / 0.4966 GB, free: 37.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.3021, allocations: 4 kB / 0.4966 GB, free: 37.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00106/0.3032, allocations: 0.612 MB / 0.4972 GB, free: 36.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3032, allocations: 6.344 kB / 0.4972 GB, free: 36.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3032, allocations: 4.609 kB / 0.4972 GB, free: 36.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/0.3034, allocations: 74.61 kB / 0.4973 GB, free: 36.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.3038, allocations: 104 kB / 0.4974 GB, free: 36.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004919/0.3043, allocations: 1.124 MB / 0.4985 GB, free: 35.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.3047, allocations: 23.42 kB / 0.4985 GB, free: 35.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.3047, allocations: 23.23 kB / 0.4985 GB, free: 35.26 MB / 394.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: arteries.mass = arteries.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.pulses.TD2,$PRE.pulses.HP,$PRE.pulses.T0,pulses.TD2,pulses.HP,pulses.b,pulses.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.3049, allocations: 183.1 kB / 0.4987 GB, free: 35.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.305, allocations: 64.84 kB / 0.4987 GB, free: 35.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.3061, allocations: 0.5796 MB / 0.4993 GB, free: 34.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3061, allocations: 4.797 kB / 0.4993 GB, free: 34.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3061, allocations: 0 / 0.4993 GB, free: 34.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3061, allocations: 6.016 kB / 0.4993 GB, free: 34.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.3076, allocations: 0.9809 MB / 0.5003 GB, free: 33.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3076, allocations: 0 / 0.5003 GB, free: 33.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.3079, allocations: 67.52 kB / 0.5003 GB, free: 33.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/0.3081, allocations: 78.67 kB / 0.5004 GB, free: 33.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.3081, allocations: 15.28 kB / 0.5004 GB, free: 33.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004922/0.3086, allocations: 1.119 MB / 0.5015 GB, free: 32.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3086, allocations: 0 / 0.5015 GB, free: 32.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.3099, allocations: 0.821 MB / 0.5023 GB, free: 31.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.3101, allocations: 77.27 kB / 0.5024 GB, free: 31.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/0.3102, allocations: 16.66 kB / 0.5024 GB, free: 31.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.3105, allocations: 20.16 kB / 0.5024 GB, free: 31.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.3106, allocations: 36.73 kB / 0.5025 GB, free: 31.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.3106, allocations: 14.94 kB / 0.5025 GB, free: 31.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.3109, allocations: 266.3 kB / 0.5027 GB, free: 31.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3109, allocations: 0 / 0.5027 GB, free: 31.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001472/0.3123, allocations: 0.5854 MB / 0.5033 GB, free: 30.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (arteries.enthalpy,arteries.substanceMasses[1],inertia.q_in.m_flow) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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 {(1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001471/0.3138, allocations: 0.9265 MB / 0.5042 GB, free: 29.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009902/0.3148, allocations: 442.5 kB / 0.5046 GB, free: 29.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3148, allocations: 4.188 kB / 0.5046 GB, free: 29.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.3153, allocations: 220.9 kB / 0.5048 GB, free: 29.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009957/0.3163, allocations: 225.1 kB / 0.5051 GB, free: 29.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.3179, allocations: 1.002 MB / 0.506 GB, free: 28.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.3181, allocations: 240.9 kB / 0.5063 GB, free: 28.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003148/0.3184, allocations: 100.2 kB / 0.5064 GB, free: 27.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.3185, allocations: 59.8 kB / 0.5064 GB, free: 27.9 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3185, allocations: 0 / 0.5064 GB, free: 27.9 MB / 394.7 MB Notification: Performance of Templates: time 0.02269/0.3412, allocations: 19.41 MB / 0.5254 GB, free: 11.72 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.506173314992338]