Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.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.09071/0.09071, allocations: 11.16 MB / 30.84 MB, free: 6.121 MB / 26.18 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.001339/0.001339, allocations: 92.34 kB / 38.41 MB, free: 7.922 MB / 34.91 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.001534/0.001534, allocations: 164.5 kB / 46.06 MB, free: 260 kB / 34.91 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.386/1.386, allocations: 177.2 MB / 230.8 MB, free: 9.734 MB / 206.1 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.1366/0.1366, allocations: 17.64 MB / 309.3 MB, free: 11.34 MB / 286.1 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_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.003739/0.003739, allocations: 134.5 kB / 454.1 MB, free: 10.56 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2751, allocations: 63.81 MB / 0.5058 GB, free: 28.73 MB / 430.1 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_2element): time 0.1078/0.3829, allocations: 64.12 MB / 0.5684 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02048/0.4034, allocations: 13.87 MB / 0.582 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007504/0.4041, allocations: 19.88 kB / 0.582 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008147/0.405, allocations: 202.5 kB / 0.5822 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006813/0.4118, allocations: 2.248 MB / 0.5844 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.4154, allocations: 1.162 MB / 0.5855 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.4171, allocations: 1.078 MB / 0.5865 GB, free: 12.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004541/0.4175, allocations: 258.8 kB / 0.5868 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.42, allocations: 1.038 MB / 0.5878 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007426/0.4208, allocations: 410.3 kB / 0.5882 GB, free: 11.28 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.705e-05/0.4209, allocations: 36 kB / 0.5882 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004003/0.4249, allocations: 1.388 MB / 0.5896 GB, free: 9.855 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.425, allocations: 127.5 kB / 0.5897 GB, free: 9.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.4253, allocations: 211.2 kB / 0.5899 GB, free: 9.523 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004546/0.4299, allocations: 1.954 MB / 0.5918 GB, free: 7.562 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4299, allocations: 0 / 0.5918 GB, free: 7.562 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4299, allocations: 0 / 0.5918 GB, free: 7.562 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4299, allocations: 0 / 0.5918 GB, free: 7.562 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002173/0.4321, allocations: 0.9169 MB / 0.5927 GB, free: 6.609 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4321, allocations: 16.02 kB / 0.5927 GB, free: 6.594 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.4322, allocations: 51.66 kB / 0.5928 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006822/0.4329, allocations: 328.9 kB / 0.5931 GB, free: 6.191 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.433, allocations: 20.66 kB / 0.5931 GB, free: 6.172 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/0.433, allocations: 43.89 kB / 0.5932 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007914/0.4338, allocations: 429.2 kB / 0.5936 GB, free: 5.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4338, allocations: 7.984 kB / 0.5936 GB, free: 5.672 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.4339, allocations: 16 kB / 0.5936 GB, free: 5.656 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.4339, allocations: 8 kB / 0.5936 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007658/0.4347, allocations: 338.3 kB / 0.5939 GB, free: 5.32 MB / 478.1 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.002353/0.437, allocations: 1.27 MB / 0.5952 GB, free: 4.004 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.4376, allocations: 298.5 kB / 0.5954 GB, free: 3.703 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.4379, allocations: 152.7 kB / 0.5956 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.4391, allocations: 0.5742 MB / 0.5961 GB, free: 2.957 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004075/0.4395, allocations: 220.9 kB / 0.5964 GB, free: 2.723 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/0.4395, allocations: 0 / 0.5964 GB, free: 2.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001244/0.4407, allocations: 474.5 kB / 0.5968 GB, free: 2.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.4408, allocations: 55.66 kB / 0.5969 GB, free: 2.184 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.4412, allocations: 348.4 kB / 0.5972 GB, free: 1.832 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.4412, allocations: 33.7 kB / 0.5972 GB, free: 1.793 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.4414, allocations: 232.3 kB / 0.5975 GB, free: 1.562 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.4415, allocations: 115 kB / 0.5976 GB, free: 1.449 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.4417, allocations: 82.14 kB / 0.5976 GB, free: 1.363 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4419, allocations: 346.8 kB / 0.598 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.4422, allocations: 136.9 kB / 0.5981 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.4426, allocations: 230.3 kB / 0.5983 GB, free: 0.6211 MB / 478.1 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.002277/0.4448, allocations: 0.8098 MB / 0.5991 GB, free: 15.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4448, allocations: 0 / 0.5991 GB, free: 15.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009877/0.4458, allocations: 474.1 kB / 0.5996 GB, free: 15.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4458, allocations: 4 kB / 0.5996 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4458, allocations: 4 kB / 0.5996 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001409/0.446, allocations: 32.84 kB / 0.5996 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.4463, allocations: 75.89 kB / 0.5997 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004677/0.4468, allocations: 0.5484 MB / 0.6002 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.4471, allocations: 43.92 kB / 0.6003 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.4472, allocations: 19.98 kB / 0.6003 GB, free: 14.55 MB / 494.1 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000229/0.4474, allocations: 166.4 kB / 0.6004 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.4475, allocations: 39.77 kB / 0.6005 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009542/0.4484, allocations: 420.6 kB / 0.6009 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4484, allocations: 4 kB / 0.6009 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4484, allocations: 3.938 kB / 0.6009 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4484, allocations: 0 / 0.6009 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.4499, allocations: 0.7582 MB / 0.6016 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4499, allocations: 7.875 kB / 0.6016 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.4501, allocations: 39.97 kB / 0.6017 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-05/0.4502, allocations: 40.86 kB / 0.6017 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.4503, allocations: 11.98 kB / 0.6017 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004145/0.4507, allocations: 0.5406 MB / 0.6022 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4507, allocations: 4.031 kB / 0.6022 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.4518, allocations: 0.5915 MB / 0.6028 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.4519, allocations: 67.89 kB / 0.6029 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.452, allocations: 11.95 kB / 0.6029 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.4523, allocations: 15.98 kB / 0.6029 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.4523, allocations: 27.89 kB / 0.6029 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.4524, allocations: 15.98 kB / 0.603 GB, free: 11.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003039/0.4527, allocations: 247.2 kB / 0.6032 GB, free: 11.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4527, allocations: 3.938 kB / 0.6032 GB, free: 11.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001333/0.454, allocations: 498.3 kB / 0.6037 GB, free: 10.94 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (arteries.enthalpy,arteries.substanceMasses[1]) * 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 (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001459/0.4555, allocations: 0.7937 MB / 0.6044 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008681/0.4563, allocations: 311.6 kB / 0.6047 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4563, allocations: 0.625 kB / 0.6047 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.4567, allocations: 147.8 kB / 0.6049 GB, free: 9.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008748/0.4576, allocations: 160.2 kB / 0.605 GB, free: 9.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.4592, allocations: 0.8668 MB / 0.6059 GB, free: 8.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.4595, allocations: 211.7 kB / 0.6061 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002688/0.4597, allocations: 83.05 kB / 0.6062 GB, free: 8.328 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.4598, allocations: 40.48 kB / 0.6062 GB, free: 8.289 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4598, allocations: 0 / 0.6062 GB, free: 8.289 MB / 494.1 MB Notification: Performance of Templates: time 0.0273/0.4871, allocations: 16.31 MB / 0.6221 GB, free: 8.102 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.39433594699949] Failed to read output from testmodel.py, exit status != 0: 0.4957851259969175 0.5097632280000001 0.076764261 Calling exit ...