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.08975/0.08975, allocations: 15.29 MB / 31.59 MB, free: 4.137 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.001009/0.00101, allocations: 96.97 kB / 36.59 MB, free: 3.172 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.001113/0.001113, allocations: 191.3 kB / 41.69 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.415/1.415, allocations: 222.9 MB / 269.6 MB, free: 6.875 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1331/0.1331, allocations: 23.34 MB / 347.2 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 111.8 kB / 479.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2706, allocations: 59.35 MB / 0.5263 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.03277/0.3034, allocations: 34.89 MB / 0.5603 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01742/0.3208, allocations: 17.71 MB / 0.5776 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.3211, allocations: 3.656 kB / 0.5776 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.3216, allocations: 120.2 kB / 0.5777 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004027/0.3257, allocations: 1.807 MB / 0.5795 GB, free: 13.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.3285, allocations: 1.301 MB / 0.5808 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006702/0.3292, allocations: 0.5602 MB / 0.5813 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007992/0.33, allocations: 0.7254 MB / 0.582 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.3323, allocations: 1.223 MB / 0.5832 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008246/0.3331, allocations: 0.569 MB / 0.5838 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.3333, allocations: 67.98 kB / 0.5838 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004495/0.3378, allocations: 2.14 MB / 0.5859 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.338, allocations: 247.3 kB / 0.5862 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.3384, allocations: 303 kB / 0.5865 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00454/0.3429, allocations: 2.734 MB / 0.5891 GB, free: 3.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.343, allocations: 0 / 0.5891 GB, free: 3.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.343, allocations: 0 / 0.5891 GB, free: 3.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.343, allocations: 0 / 0.5891 GB, free: 3.891 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.002283/0.3453, allocations: 1.056 MB / 0.5902 GB, free: 2.785 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3453, allocations: 8.031 kB / 0.5902 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.3455, allocations: 35.56 kB / 0.5902 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.3461, allocations: 425.8 kB / 0.5906 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3462, allocations: 16.56 kB / 0.5906 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.3463, allocations: 27.94 kB / 0.5907 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.3473, allocations: 0.598 MB / 0.5912 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3473, allocations: 0 / 0.5912 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/0.3474, allocations: 12 kB / 0.5913 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3474, allocations: 8 kB / 0.5913 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.3488, allocations: 0.8688 MB / 0.5921 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.3514, allocations: 1.456 MB / 0.5935 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.3521, allocations: 338.5 kB / 0.5939 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.3526, allocations: 296.7 kB / 0.5941 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.3528, allocations: 113.6 kB / 0.5942 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3528, allocations: 34.56 kB / 0.5943 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008252/0.3536, allocations: 167.6 kB / 0.5944 GB, free: 14.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.425e-06/0.3537, allocations: 0 / 0.5944 GB, free: 14.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.00949/0.3632, allocations: 2.13 MB / 0.5965 GB, free: 12.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.3632, allocations: 55.41 kB / 0.5966 GB, free: 12.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.3636, allocations: 376.4 kB / 0.5969 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.3636, allocations: 29.7 kB / 0.597 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3638, allocations: 156.7 kB / 0.5971 GB, free: 11.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/0.3639, allocations: 106.4 kB / 0.5972 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.364, allocations: 85.61 kB / 0.5973 GB, free: 11.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3641, allocations: 350.8 kB / 0.5976 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.3645, allocations: 231.9 kB / 0.5978 GB, free: 10.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/0.3649, allocations: 232.9 kB / 0.5981 GB, free: 10.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008217/0.3658, allocations: 0.5089 MB / 0.5986 GB, free: 9.941 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3658, allocations: 0 / 0.5986 GB, free: 9.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002168/0.3679, allocations: 0.9468 MB / 0.5995 GB, free: 8.984 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.368, allocations: 7.938 kB / 0.5995 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.368, allocations: 11.98 kB / 0.5995 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05455/0.4225, allocations: 4.167 MB / 0.6036 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.591e-05/0.4226, allocations: 7.938 kB / 0.6036 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/0.4258, allocations: 1.516 MB / 0.6051 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.4261, allocations: 4 kB / 0.6051 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.4262, allocations: 31.95 kB / 0.6051 GB, free: 3.203 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.0002153/0.4264, allocations: 157.8 kB / 0.6052 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4265, allocations: 39.62 kB / 0.6053 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.4286, allocations: 1.092 MB / 0.6064 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4286, allocations: 3.984 kB / 0.6064 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4286, allocations: 4 kB / 0.6064 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.4288, allocations: 156.5 kB / 0.6065 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.4289, allocations: 15.88 kB / 0.6065 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.4292, allocations: 8 kB / 0.6065 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.4293, allocations: 19.97 kB / 0.6066 GB, free: 1.672 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.002475/0.4318, allocations: 0.8474 MB / 0.6074 GB, free: 0.8203 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