Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.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.001016/0.001016, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002472, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.001032/0.001032, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.0024, allocations: 475.7 kB / 11.72 MB, free: 2.453 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 1.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.128, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.7937/0.7937, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0285/0.8222, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5446 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.463e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate): time 0.002836/0.00285, allocations: 2.495 MB / 0.547 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008994/0.00375, allocations: 0.6271 MB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.003842, allocations: 4 kB / 0.5476 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.612e-05/0.003918, allocations: 27.66 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.004092, allocations: 83.31 kB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.004237, allocations: 63.75 kB / 0.5478 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.004491, allocations: 262.6 kB / 0.548 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.004618, allocations: 42.53 kB / 0.5481 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.004847, allocations: 172.2 kB / 0.5482 GB, free: 26.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.005022, allocations: 83.73 kB / 0.5483 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.005053, allocations: 16 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.878e-05/0.005081, allocations: 20 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.005111, allocations: 23.88 kB / 0.5484 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.005184, allocations: 67.86 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.005375, allocations: 135.5 kB / 0.5486 GB, free: 26.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.005385, allocations: 4 kB / 0.5486 GB, free: 26.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005386, allocations: 0 / 0.5486 GB, free: 26.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.005399, allocations: 0 / 0.5486 GB, free: 26.43 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006169/0.006016, allocations: 0.5015 MB / 0.5491 GB, free: 25.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.006048, allocations: 11.89 kB / 0.5491 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.006101, allocations: 24.92 kB / 0.5491 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.00626, allocations: 175 kB / 0.5493 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.006279, allocations: 16.61 kB / 0.5493 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.00631, allocations: 19.73 kB / 0.5493 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.006506, allocations: 159.5 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.006519, allocations: 0 / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.006532, allocations: 7.938 kB / 0.5495 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.006538, allocations: 0 / 0.5495 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.846e-05/0.006637, allocations: 80.64 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.007082, allocations: 364.9 kB / 0.5499 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.007276, allocations: 116.1 kB / 0.55 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.00733, allocations: 61.05 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.00734, allocations: 4 kB / 0.5501 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.007494, allocations: 192.3 kB / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.874e-06/0.007496, allocations: 0 / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006567/0.008152, allocations: 0.5082 MB / 0.5507 GB, free: 24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.008189, allocations: 166.2 kB / 0.5509 GB, free: 23.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.008312, allocations: 210 kB / 0.5511 GB, free: 23.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.00833, allocations: 33.7 kB / 0.5511 GB, free: 23.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.008368, allocations: 116.4 kB / 0.5512 GB, free: 23.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.008409, allocations: 67.45 kB / 0.5513 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.008471, allocations: 51.19 kB / 0.5513 GB, free: 23.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.00851, allocations: 342.8 kB / 0.5517 GB, free: 22.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.128e-05/0.008581, allocations: 97 kB / 0.5518 GB, free: 22.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.41e-05/0.008665, allocations: 173.3 kB / 0.5519 GB, free: 22.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.008804, allocations: 214.2 kB / 0.5521 GB, free: 22.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008806, allocations: 0 / 0.5521 GB, free: 22.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000211/0.009017, allocations: 263.2 kB / 0.5524 GB, free: 22.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.00905, allocations: 67.44 kB / 0.5525 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.009055, allocations: 4 kB / 0.5525 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.009068, allocations: 3.938 kB / 0.5525 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.009291, allocations: 69.86 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.009298, allocations: 7.938 kB / 0.5525 GB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.009417, allocations: 15.98 kB / 0.5525 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.009433, allocations: 11.94 kB / 0.5526 GB, free: 21.91 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001182/0.009551, allocations: 175.6 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.009583, allocations: 19.98 kB / 0.5527 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.009618, allocations: 25.95 kB / 0.5528 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.009623, allocations: 1.625 kB / 0.5528 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.009624, allocations: 0 / 0.5528 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.009654, allocations: 23.84 kB / 0.5528 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.009667, allocations: 7.938 kB / 0.5528 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.009698, allocations: 8 kB / 0.5528 GB, free: 21.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.009784, allocations: 11.98 kB / 0.5528 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.009833, allocations: 19.97 kB / 0.5528 GB, free: 21.6 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002473/0.01008, allocations: 264.2 kB / 0.5531 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002599/0.01034, allocations: 423.7 kB / 0.5535 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.452e-05/0.01042, allocations: 82.5 kB / 0.5536 GB, free: 20.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.44e-05/0.01047, allocations: 61.97 kB / 0.5536 GB, free: 20.72 MB / 410.7 MB Notification: Performance of Backend: time 1.7e-07/0.01047, allocations: 0 / 0.5536 GB, free: 20.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003378/0.01081, allocations: 345.2 kB / 0.554 GB, free: 20.34 MB / 410.7 MB Notification: Performance of SimCode: time 0.007154/0.01796, allocations: 1.127 MB / 0.5551 GB, free: 19.16 MB / 410.7 MB Notification: Performance of Templates: time 0.004121/0.02208, allocations: 3.856 MB / 0.5588 GB, free: 15.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4527088217437267]