Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy.conf.json 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.0009977/0.0009977, allocations: 92.5 kB / 19.94 MB, free: 4.605 MB / 18.57 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.0009203/0.0009203, allocations: 165.8 kB / 23.21 MB, free: 1.336 MB / 18.57 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.9614/0.9614, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7195/0.7195, allocations: 291.1 MB / 0.5382 GB, free: 51.84 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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) Running command: translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6973 GB, free: 10.46 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.584e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.46 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy): time 0.001129/0.001155, allocations: 0.6007 MB / 0.6979 GB, free: 9.855 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.158e-05/0.001197, allocations: 11.92 kB / 0.6979 GB, free: 9.844 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.001222, allocations: 0 / 0.6979 GB, free: 9.844 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.001235, allocations: 0 / 0.6979 GB, free: 9.844 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.6e-05/0.001261, allocations: 11.81 kB / 0.6979 GB, free: 9.832 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.946e-05/0.00131, allocations: 0 / 0.6979 GB, free: 9.832 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.001367, allocations: 15.98 kB / 0.6979 GB, free: 9.816 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.858e-05/0.001416, allocations: 0 / 0.6979 GB, free: 9.816 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.001451, allocations: 7.984 kB / 0.6979 GB, free: 9.809 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.001496, allocations: 11.94 kB / 0.6979 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.001515, allocations: 0 / 0.6979 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.537e-06/0.001519, allocations: 0 / 0.6979 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.001533, allocations: 7.984 kB / 0.6979 GB, free: 9.789 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.703e-05/0.00155, allocations: 7.984 kB / 0.6979 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.281e-05/0.001603, allocations: 11.92 kB / 0.6979 GB, free: 9.77 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.001605, allocations: 0 / 0.6979 GB, free: 9.77 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.533e-06/0.001607, allocations: 0 / 0.6979 GB, free: 9.77 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.001611, allocations: 0 / 0.6979 GB, free: 9.77 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002561/0.001867, allocations: 258.3 kB / 0.6982 GB, free: 9.484 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.001904, allocations: 12.03 kB / 0.6982 GB, free: 9.473 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.001929, allocations: 0.9375 kB / 0.6982 GB, free: 9.473 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.189e-05/0.001991, allocations: 105.8 kB / 0.6983 GB, free: 9.344 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.002001, allocations: 384 / 0.6983 GB, free: 9.344 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.00201, allocations: 4.375 kB / 0.6983 GB, free: 9.34 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.692e-05/0.002087, allocations: 42.19 kB / 0.6983 GB, free: 9.293 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.002093, allocations: 192 / 0.6983 GB, free: 9.293 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.002101, allocations: 384 / 0.6983 GB, free: 9.293 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.002105, allocations: 384 / 0.6983 GB, free: 9.293 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.209e-05/0.002137, allocations: 7.938 kB / 0.6984 GB, free: 9.285 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.061e-05/0.002228, allocations: 113.3 kB / 0.6985 GB, free: 9.145 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.002471, allocations: 54.66 kB / 0.6985 GB, free: 9.082 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.00249, allocations: 8.859 kB / 0.6985 GB, free: 9.07 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.002499, allocations: 7.938 kB / 0.6985 GB, free: 9.062 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.838e-06/0.002509, allocations: 30.56 kB / 0.6986 GB, free: 9.023 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.00251, allocations: 0 / 0.6986 GB, free: 9.023 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.00011/0.00262, allocations: 49.91 kB / 0.6986 GB, free: 8.969 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.00264, allocations: 55.41 kB / 0.6987 GB, free: 8.902 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.792e-05/0.002678, allocations: 105.8 kB / 0.6988 GB, free: 8.789 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.002683, allocations: 25.7 kB / 0.6988 GB, free: 8.758 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.189e-05/0.002695, allocations: 92.12 kB / 0.6989 GB, free: 8.664 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.002714, allocations: 7.953 kB / 0.6989 GB, free: 8.656 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.002733, allocations: 13.72 kB / 0.6989 GB, free: 8.637 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.834e-05/0.002761, allocations: 314.8 kB / 0.6992 GB, free: 8.32 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.002773, allocations: 4 kB / 0.6992 GB, free: 8.316 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.185e-05/0.002785, allocations: 11.92 kB / 0.6992 GB, free: 8.305 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.002811, allocations: 16.86 kB / 0.6992 GB, free: 8.285 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.002813, allocations: 3.938 kB / 0.6992 GB, free: 8.281 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.104e-05/0.002854, allocations: 49.64 kB / 0.6993 GB, free: 8.227 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.002865, allocations: 7.938 kB / 0.6993 GB, free: 8.219 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.002868, allocations: 0 / 0.6993 GB, free: 8.219 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.002879, allocations: 4 kB / 0.6993 GB, free: 8.215 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.704e-05/0.002916, allocations: 4 kB / 0.6993 GB, free: 8.211 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.002921, allocations: 0 / 0.6993 GB, free: 8.211 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/0.002932, allocations: 7.875 kB / 0.6993 GB, free: 8.203 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.002937, allocations: 4 kB / 0.6993 GB, free: 8.199 MB / 410.8 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.002979, allocations: 113.8 kB / 0.6994 GB, free: 8.078 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-06/0.002982, allocations: 4 kB / 0.6994 GB, free: 8.074 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.686e-05/0.002999, allocations: 11.67 kB / 0.6994 GB, free: 8.062 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.003001, allocations: 0 / 0.6994 GB, free: 8.062 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.003005, allocations: 0 / 0.6994 GB, free: 8.062 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-06/0.003008, allocations: 3.938 kB / 0.6994 GB, free: 8.059 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.01e-05/0.003048, allocations: 105.3 kB / 0.6995 GB, free: 7.926 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.003049, allocations: 4 kB / 0.6995 GB, free: 7.922 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-05/0.003062, allocations: 4 kB / 0.6995 GB, free: 7.918 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.003063, allocations: 0 / 0.6995 GB, free: 7.918 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.003069, allocations: 7.984 kB / 0.6995 GB, free: 7.91 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.00307, allocations: 0 / 0.6995 GB, free: 7.91 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00307, allocations: 0 / 0.6995 GB, free: 7.91 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.315e-05/0.003124, allocations: 73.02 kB / 0.6996 GB, free: 7.82 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.003128, allocations: 4 kB / 0.6996 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.003136, allocations: 0 / 0.6996 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-06/0.003143, allocations: 3.938 kB / 0.6996 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.003154, allocations: 4 kB / 0.6996 GB, free: 7.809 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.003156, allocations: 4 kB / 0.6996 GB, free: 7.805 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.449e-05/0.003171, allocations: 91.52 kB / 0.6997 GB, free: 7.715 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.003171, allocations: 0 / 0.6997 GB, free: 7.715 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001072/0.003278, allocations: 7.938 kB / 0.6997 GB, free: 7.707 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.14e-05/0.00334, allocations: 99.25 kB / 0.6998 GB, free: 7.602 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.437e-05/0.003404, allocations: 12 kB / 0.6998 GB, free: 7.59 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.003405, allocations: 0 / 0.6998 GB, free: 7.59 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.909e-06/0.003415, allocations: 16.25 kB / 0.6998 GB, free: 7.574 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.00352, allocations: 8.688 kB / 0.6999 GB, free: 7.57 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001955/0.003715, allocations: 134.5 kB / 0.7 GB, free: 7.406 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.971e-05/0.003745, allocations: 71.28 kB / 0.7 GB, free: 7.316 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.003769, allocations: 8.594 kB / 0.7001 GB, free: 7.309 MB / 410.8 MB Notification: Performance of SimCode: time 7.71e-07/0.003769, allocations: 0 / 0.7001 GB, free: 7.309 MB / 410.8 MB Notification: Performance of Templates: time 0.001284/0.005054, allocations: 0.4967 MB / 0.7005 GB, free: 6.816 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.244280272163451]