Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.07744/0.07744, allocations: 15.29 MB / 31.59 MB, free: 4.141 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 98.23 kB / 36.59 MB, free: 3.18 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 199.2 kB / 41.7 MB, free: 7.141 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 269.6 MB, free: 6.898 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1282/0.1282, allocations: 23.35 MB / 347.3 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 115.8 kB / 479.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.261, allocations: 59.35 MB / 0.5263 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.03282/0.2939, allocations: 34.89 MB / 0.5603 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.3108, allocations: 17.71 MB / 0.5776 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.3111, allocations: 3.469 kB / 0.5776 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.3115, allocations: 116.3 kB / 0.5777 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.3151, allocations: 1.812 MB / 0.5795 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.3176, allocations: 1.293 MB / 0.5808 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005485/0.3181, allocations: 0.5641 MB / 0.5813 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007751/0.3189, allocations: 0.7254 MB / 0.582 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.3209, allocations: 1.223 MB / 0.5832 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007211/0.3216, allocations: 0.565 MB / 0.5838 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.856e-05/0.3217, allocations: 68 kB / 0.5838 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/0.3253, allocations: 2.144 MB / 0.5859 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.3256, allocations: 243.4 kB / 0.5862 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.3258, allocations: 306.9 kB / 0.5865 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003357/0.3292, allocations: 2.726 MB / 0.5891 GB, free: 3.934 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3292, allocations: 3.984 kB / 0.5891 GB, free: 3.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3292, allocations: 0 / 0.5891 GB, free: 3.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3292, allocations: 0 / 0.5891 GB, free: 3.93 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001966/0.3312, allocations: 1.06 MB / 0.5902 GB, free: 2.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3313, allocations: 8.031 kB / 0.5902 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.3314, allocations: 39.56 kB / 0.5902 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.332, allocations: 413.8 kB / 0.5906 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.332, allocations: 24.56 kB / 0.5906 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.3321, allocations: 23.94 kB / 0.5906 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009741/0.3331, allocations: 0.6019 MB / 0.5912 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3331, allocations: 3.984 kB / 0.5912 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.3332, allocations: 12 kB / 0.5913 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3332, allocations: 4 kB / 0.5913 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.3346, allocations: 0.8649 MB / 0.5921 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.337, allocations: 1.456 MB / 0.5935 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/0.3377, allocations: 342.5 kB / 0.5939 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.3382, allocations: 300.7 kB / 0.5941 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.3384, allocations: 113.6 kB / 0.5942 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.3384, allocations: 34.56 kB / 0.5943 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008048/0.3392, allocations: 163.6 kB / 0.5944 GB, free: 14.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.3392, allocations: 0 / 0.5944 GB, free: 14.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.009195/0.3484, allocations: 2.134 MB / 0.5965 GB, free: 12.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.3485, allocations: 63.39 kB / 0.5966 GB, free: 12.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.3488, allocations: 368.4 kB / 0.5969 GB, free: 11.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.3489, allocations: 33.7 kB / 0.597 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.349, allocations: 156.7 kB / 0.5971 GB, free: 11.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/0.3491, allocations: 106.4 kB / 0.5972 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.3493, allocations: 85.62 kB / 0.5973 GB, free: 11.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3494, allocations: 346.8 kB / 0.5976 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.3498, allocations: 235.8 kB / 0.5978 GB, free: 10.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.3502, allocations: 232.9 kB / 0.5981 GB, free: 10.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008315/0.351, allocations: 0.5089 MB / 0.5986 GB, free: 9.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.351, allocations: 3.984 kB / 0.5986 GB, free: 9.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002103/0.3531, allocations: 0.9429 MB / 0.5995 GB, free: 9.012 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3532, allocations: 7.938 kB / 0.5995 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3532, allocations: 0 / 0.5995 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05143/0.4046, allocations: 4.175 MB / 0.6036 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.556e-05/0.4047, allocations: 4 kB / 0.6036 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/0.4078, allocations: 1.52 MB / 0.6051 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.4082, allocations: 8 kB / 0.6051 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/0.4083, allocations: 27.95 kB / 0.6051 GB, free: 3.234 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 {(13,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.4085, allocations: 161.8 kB / 0.6053 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.4086, allocations: 31.62 kB / 0.6053 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.4106, allocations: 1.092 MB / 0.6064 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4107, allocations: 7.938 kB / 0.6064 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4107, allocations: 0 / 0.6064 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.4109, allocations: 160.5 kB / 0.6065 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.411, allocations: 11.92 kB / 0.6065 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.4112, allocations: 8 kB / 0.6065 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.4113, allocations: 23.97 kB / 0.6066 GB, free: 1.703 MB / 446.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002348/0.4137, allocations: 0.8513 MB / 0.6074 GB, free: 0.8477 MB / 446.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Physiolibrary.Fluid.Examples.MeanRespiration could not be translated