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.0008591/0.0008591, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 13.93 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.0009007/0.0009007, allocations: 215.5 kB / 23.01 MB, free: 2.957 MB / 13.93 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.9419/0.9419, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.7234/0.7234, allocations: 312.3 MB / 0.6109 GB, free: 97.08 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: Pharmacolibrary 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: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 73.53 kB / 0.7699 GB, free: 19.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1322, allocations: 73.99 MB / 0.8421 GB, free: 9.934 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A09A_DigestivesInclEnzymes.A09AB02_BetaineHydrochloride.Betaine_Matthews2002_PD_hcy): time 0.00156/0.1338, allocations: 0.6026 MB / 0.8427 GB, free: 9.348 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.924e-05/0.1338, allocations: 8.438 kB / 0.8427 GB, free: 9.34 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.1339, allocations: 0.7188 kB / 0.8427 GB, free: 9.34 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.1339, allocations: 0 / 0.8427 GB, free: 9.34 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.64e-05/0.1339, allocations: 0.625 kB / 0.8427 GB, free: 9.34 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.096e-05/0.134, allocations: 7.984 kB / 0.8427 GB, free: 9.332 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.983e-05/0.134, allocations: 16.53 kB / 0.8427 GB, free: 9.316 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.1341, allocations: 7.969 kB / 0.8427 GB, free: 9.309 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.1341, allocations: 8.625 kB / 0.8427 GB, free: 9.301 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.1342, allocations: 4.562 kB / 0.8428 GB, free: 9.297 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1342, allocations: 4 kB / 0.8428 GB, free: 9.293 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-06/0.1342, allocations: 0.625 kB / 0.8428 GB, free: 9.293 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.1342, allocations: 3.984 kB / 0.8428 GB, free: 9.289 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.1342, allocations: 9.062 kB / 0.8428 GB, free: 9.281 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.674e-05/0.1343, allocations: 7.984 kB / 0.8428 GB, free: 9.273 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1343, allocations: 0 / 0.8428 GB, free: 9.273 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1343, allocations: 0.5625 kB / 0.8428 GB, free: 9.273 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1343, allocations: 0.625 kB / 0.8428 GB, free: 9.273 MB / 474.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.0003822/0.1347, allocations: 258.9 kB / 0.843 GB, free: 8.988 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1347, allocations: 12.66 kB / 0.843 GB, free: 8.977 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.1348, allocations: 4.938 kB / 0.843 GB, free: 8.973 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.219e-05/0.1349, allocations: 111.1 kB / 0.8431 GB, free: 8.84 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.1349, allocations: 384 / 0.8431 GB, free: 8.84 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.1349, allocations: 0.875 kB / 0.8431 GB, free: 8.84 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.135, allocations: 38.81 kB / 0.8432 GB, free: 8.797 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.135, allocations: 192 / 0.8432 GB, free: 8.797 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.135, allocations: 12.52 kB / 0.8432 GB, free: 8.785 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.135, allocations: 4.656 kB / 0.8432 GB, free: 8.781 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.261e-05/0.1351, allocations: 4 kB / 0.8432 GB, free: 8.777 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.1352, allocations: 109.9 kB / 0.8433 GB, free: 8.641 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.1356, allocations: 55.31 kB / 0.8434 GB, free: 8.578 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.1356, allocations: 12.86 kB / 0.8434 GB, free: 8.562 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.1356, allocations: 0.6562 kB / 0.8434 GB, free: 8.562 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1356, allocations: 35.16 kB / 0.8434 GB, free: 8.52 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1356, allocations: 0 / 0.8434 GB, free: 8.52 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001695/0.1358, allocations: 50.44 kB / 0.8435 GB, free: 8.465 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.1358, allocations: 55.34 kB / 0.8435 GB, free: 8.398 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.1359, allocations: 110.5 kB / 0.8436 GB, free: 8.281 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.1359, allocations: 26.39 kB / 0.8436 GB, free: 8.25 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.1359, allocations: 80.14 kB / 0.8437 GB, free: 8.168 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.136, allocations: 12.58 kB / 0.8437 GB, free: 8.156 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.136, allocations: 13.66 kB / 0.8437 GB, free: 8.137 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.138e-05/0.1361, allocations: 315.5 kB / 0.844 GB, free: 7.82 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.1361, allocations: 7.984 kB / 0.8441 GB, free: 7.812 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.251e-05/0.1361, allocations: 4.562 kB / 0.8441 GB, free: 7.809 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.1362, allocations: 17.45 kB / 0.8441 GB, free: 7.789 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1362, allocations: 0 / 0.8441 GB, free: 7.789 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.325e-05/0.1362, allocations: 50.14 kB / 0.8441 GB, free: 7.734 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1362, allocations: 4.625 kB / 0.8441 GB, free: 7.73 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1362, allocations: 4 kB / 0.8441 GB, free: 7.727 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1363, allocations: 4.531 kB / 0.8441 GB, free: 7.723 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.502e-05/0.1363, allocations: 8.594 kB / 0.8441 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1363, allocations: 0 / 0.8441 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.585e-05/0.1363, allocations: 8.5 kB / 0.8441 GB, free: 7.707 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1363, allocations: 0 / 0.8441 GB, free: 7.707 MB / 474.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 7.077e-05/0.1364, allocations: 115.6 kB / 0.8443 GB, free: 7.586 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-06/0.1364, allocations: 0.6562 kB / 0.8443 GB, free: 7.586 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.1364, allocations: 7.672 kB / 0.8443 GB, free: 7.578 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1364, allocations: 8.5 kB / 0.8443 GB, free: 7.57 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1364, allocations: 0.625 kB / 0.8443 GB, free: 7.57 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1364, allocations: 0 / 0.8443 GB, free: 7.57 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.182e-05/0.1365, allocations: 101.8 kB / 0.8444 GB, free: 7.441 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1365, allocations: 0.5938 kB / 0.8444 GB, free: 7.441 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.1365, allocations: 7.984 kB / 0.8444 GB, free: 7.434 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1365, allocations: 0.5938 kB / 0.8444 GB, free: 7.434 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.1365, allocations: 0.5312 kB / 0.8444 GB, free: 7.434 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1365, allocations: 4 kB / 0.8444 GB, free: 7.43 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1365, allocations: 4.625 kB / 0.8444 GB, free: 7.426 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.152e-05/0.1366, allocations: 81.33 kB / 0.8445 GB, free: 7.328 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-06/0.1366, allocations: 0.5312 kB / 0.8445 GB, free: 7.328 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1366, allocations: 4.594 kB / 0.8445 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-06/0.1367, allocations: 0 / 0.8445 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.1367, allocations: 4.562 kB / 0.8445 GB, free: 7.32 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.1367, allocations: 0.875 kB / 0.8445 GB, free: 7.32 MB / 474.8 MB Notification: Performance of sorting global known variables: time 3.207e-05/0.1367, allocations: 91.27 kB / 0.8446 GB, free: 7.23 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1367, allocations: 0.7812 kB / 0.8446 GB, free: 7.23 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001161/0.1368, allocations: 4 kB / 0.8446 GB, free: 7.227 MB / 474.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 0.0001127/0.1369, allocations: 100.3 kB / 0.8447 GB, free: 7.117 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.1371, allocations: 23.92 kB / 0.8447 GB, free: 7.094 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1371, allocations: 0.5 kB / 0.8447 GB, free: 7.094 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.388e-06/0.1371, allocations: 8.562 kB / 0.8447 GB, free: 7.086 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.1372, allocations: 4.594 kB / 0.8447 GB, free: 7.082 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.1375, allocations: 131.3 kB / 0.8448 GB, free: 6.922 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.182e-05/0.1376, allocations: 59.94 kB / 0.8449 GB, free: 6.844 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.1376, allocations: 7.438 kB / 0.8449 GB, free: 6.836 MB / 474.8 MB Notification: Performance of SimCode: time 7.12e-07/0.1376, allocations: 0.5 kB / 0.8449 GB, free: 6.836 MB / 474.8 MB Notification: Performance of Templates: time 0.001513/0.1391, allocations: 498.2 kB / 0.8454 GB, free: 6.371 MB / 474.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.955175046809018]