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.05922/0.05922, allocations: 11.16 MB / 31.26 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.001069/0.001069, allocations: 94.77 kB / 38.88 MB, free: 7.391 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.001066/0.001066, allocations: 165.1 kB / 46.58 MB, free: 10.75 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 0.9702/0.9702, allocations: 177.2 MB / 231.3 MB, free: 2.113 MB / 202.7 MB " [Timeout remaining time 179] 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.2721/0.2721, allocations: 17.61 MB / 309.8 MB, free: 2.023 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.483e-06/1.483e-06, allocations: 0 / 391.2 MB, free: 5.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.073e-05, allocations: 6.25 kB / 391.2 MB, free: 5.039 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.2638/0.2638, allocations: 85.37 MB / 476.5 MB, free: 43.23 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02086/0.2847, allocations: 22.53 MB / 499.1 MB, free: 41.27 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000915/0.2856, allocations: 23.62 kB / 499.1 MB, free: 41.26 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008242/0.2864, allocations: 269 kB / 499.4 MB, free: 41.15 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006441/0.2929, allocations: 2.56 MB / 0.4901 GB, free: 40.21 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006017/0.2989, allocations: 2.179 MB / 0.4923 GB, free: 39.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001623/0.3005, allocations: 1.362 MB / 0.4936 GB, free: 39.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005699/0.3011, allocations: 381.5 kB / 0.494 GB, free: 39 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.3036, allocations: 1.332 MB / 0.4953 GB, free: 38.51 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007574/0.3044, allocations: 0.4989 MB / 0.4958 GB, free: 38.41 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.473e-05/0.3045, allocations: 55.25 kB / 0.4958 GB, free: 38.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004071/0.3085, allocations: 1.615 MB / 0.4974 GB, free: 38.04 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.3087, allocations: 171.3 kB / 0.4976 GB, free: 37.95 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.309, allocations: 250.6 kB / 0.4978 GB, free: 37.87 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004668/0.3136, allocations: 2.268 MB / 0.5 GB, free: 37.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3136, allocations: 0 / 0.5 GB, free: 37.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3136, allocations: 0 / 0.5 GB, free: 37.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3137, allocations: 4 kB / 0.5 GB, free: 37.04 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.001754/0.3154, allocations: 1.147 MB / 0.5011 GB, free: 36.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.3154, allocations: 12.53 kB / 0.5011 GB, free: 36.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.3156, allocations: 93.84 kB / 0.5012 GB, free: 36.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.3161, allocations: 368.1 kB / 0.5016 GB, free: 35.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.3161, allocations: 36.88 kB / 0.5016 GB, free: 35.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.3161, allocations: 52.02 kB / 0.5017 GB, free: 35.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005853/0.3167, allocations: 472.2 kB / 0.5021 GB, free: 35.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3167, allocations: 0 / 0.5021 GB, free: 35.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.3168, allocations: 18.69 kB / 0.5021 GB, free: 35.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.3168, allocations: 13.73 kB / 0.5021 GB, free: 35.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.3174, allocations: 279.1 kB / 0.5024 GB, free: 35.6 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.002081/0.3194, allocations: 1.666 MB / 0.504 GB, free: 34.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.3199, allocations: 280.2 kB / 0.5043 GB, free: 33.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.3202, allocations: 155.7 kB / 0.5045 GB, free: 33.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009666/0.3212, allocations: 0.7146 MB / 0.5052 GB, free: 33.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.3214, allocations: 216.2 kB / 0.5054 GB, free: 32.86 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001539/0.3216, allocations: 50.39 kB / 0.5054 GB, free: 32.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 1.483e-06/0.3216, allocations: 4 kB / 0.5054 GB, free: 32.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.001018/0.3226, allocations: 463.8 kB / 0.5059 GB, free: 32.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.3226, allocations: 59.06 kB / 0.5059 GB, free: 32.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.323, allocations: 389.8 kB / 0.5063 GB, free: 31.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.323, allocations: 37.7 kB / 0.5063 GB, free: 31.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3231, allocations: 303.2 kB / 0.5066 GB, free: 31.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.861e-05/0.3232, allocations: 140.7 kB / 0.5067 GB, free: 31.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.3233, allocations: 109.4 kB / 0.5068 GB, free: 31.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.3234, allocations: 0.5171 MB / 0.5074 GB, free: 30.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.3236, allocations: 90.25 kB / 0.5074 GB, free: 30.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.3239, allocations: 209.6 kB / 0.5076 GB, free: 30.62 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.0008882/0.3248, allocations: 0.5218 MB / 0.5081 GB, free: 30.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3248, allocations: 0 / 0.5081 GB, free: 30.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007707/0.3255, allocations: 436.5 kB / 0.5086 GB, free: 29.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3256, allocations: 4 kB / 0.5086 GB, free: 29.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3256, allocations: 7.188 kB / 0.5086 GB, free: 29.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.3258, allocations: 62.23 kB / 0.5086 GB, free: 29.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.3261, allocations: 95.03 kB / 0.5087 GB, free: 29.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004519/0.3266, allocations: 1.611 MB / 0.5103 GB, free: 27.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.3268, allocations: 18.58 kB / 0.5103 GB, free: 27.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.3269, allocations: 23.23 kB / 0.5103 GB, free: 27.84 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.0001496/0.327, allocations: 190 kB / 0.5105 GB, free: 27.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-05/0.3271, allocations: 60.17 kB / 0.5106 GB, free: 27.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007194/0.3278, allocations: 441.8 kB / 0.511 GB, free: 27.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.3278, allocations: 8 kB / 0.511 GB, free: 27.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3278, allocations: 0 / 0.511 GB, free: 27.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3278, allocations: 3.047 kB / 0.511 GB, free: 27.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.329, allocations: 0.8564 MB / 0.5118 GB, free: 26.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.329, allocations: 0 / 0.5118 GB, free: 26.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.3292, allocations: 61.78 kB / 0.5119 GB, free: 26.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/0.3294, allocations: 64.2 kB / 0.512 GB, free: 26.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.3294, allocations: 10.72 kB / 0.512 GB, free: 26.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003869/0.3298, allocations: 1.609 MB / 0.5135 GB, free: 24.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3298, allocations: 7.938 kB / 0.5136 GB, free: 24.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.3306, allocations: 0.5953 MB / 0.5141 GB, free: 24.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.3307, allocations: 79.27 kB / 0.5142 GB, free: 23.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.3308, allocations: 8 kB / 0.5142 GB, free: 23.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3309, allocations: 19.17 kB / 0.5142 GB, free: 23.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.331, allocations: 35.61 kB / 0.5143 GB, free: 23.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.331, allocations: 19.17 kB / 0.5143 GB, free: 23.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.3311, allocations: 267.5 kB / 0.5145 GB, free: 23.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3311, allocations: 0 / 0.5145 GB, free: 23.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001177/0.3323, allocations: 0.5889 MB / 0.5151 GB, free: 23.11 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.001153/0.3335, allocations: 0.9386 MB / 0.516 GB, free: 22.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.334, allocations: 303.5 kB / 0.5163 GB, free: 22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.334, allocations: 0 / 0.5163 GB, free: 22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.3342, allocations: 166.6 kB / 0.5165 GB, free: 21.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.3348, allocations: 212.2 kB / 0.5167 GB, free: 21.7 MB / 394.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.3373, allocations: 1.027 MB / 0.5177 GB, free: 20.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.3374, allocations: 129.8 kB / 0.5178 GB, free: 20.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.3377, allocations: 92.09 kB / 0.5179 GB, free: 20.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.3379, allocations: 59.61 kB / 0.518 GB, free: 20.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.963e-06/0.3379, allocations: 0 / 0.518 GB, free: 20.48 MB / 394.7 MB Notification: Performance of Templates: time 0.02001/0.3579, allocations: 19.44 MB / 0.5369 GB, free: 5.602 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8596941858995706]