Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.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.0009956/0.0009956, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002333, 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.001251/0.001251, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001896/0.003147, 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 0.9858/0.9858, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08699/1.073, allocations: 53.67 MB / 243.3 MB, free: 15.59 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.7201/0.7201, allocations: 291.2 MB / 0.5226 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03542/0.7555, allocations: 21.05 MB / 0.5432 GB, free: 31.49 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.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5445 GB, free: 30.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.56e-05, allocations: 6.312 kB / 0.5445 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate): time 0.003315/0.003341, allocations: 2.494 MB / 0.547 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006245/0.009586, allocations: 6.692 MB / 0.5535 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.009742, allocations: 4 kB / 0.5535 GB, free: 20.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.009846, allocations: 23.72 kB / 0.5535 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.01003, allocations: 83.33 kB / 0.5536 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.0102, allocations: 59.86 kB / 0.5537 GB, free: 20.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.0104, allocations: 262.6 kB / 0.5539 GB, free: 20.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.01054, allocations: 50.41 kB / 0.554 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.01073, allocations: 176.2 kB / 0.5541 GB, free: 20.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.01091, allocations: 79.78 kB / 0.5542 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.01094, allocations: 20 kB / 0.5542 GB, free: 20.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.151e-05/0.01096, allocations: 16 kB / 0.5543 GB, free: 20.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.01099, allocations: 27.88 kB / 0.5543 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.01105, allocations: 59.88 kB / 0.5543 GB, free: 20.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.01123, allocations: 147.5 kB / 0.5545 GB, free: 19.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.476e-05/0.01125, allocations: 0 / 0.5545 GB, free: 19.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01125, allocations: 0 / 0.5545 GB, free: 19.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.01126, allocations: 0 / 0.5545 GB, free: 19.92 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.0006003/0.01186, allocations: 0.4976 MB / 0.555 GB, free: 19.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.0119, allocations: 11.89 kB / 0.555 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.01195, allocations: 28.86 kB / 0.555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.01211, allocations: 179 kB / 0.5552 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.01213, allocations: 16.61 kB / 0.5552 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.01215, allocations: 12.38 kB / 0.5552 GB, free: 19.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.01232, allocations: 159.5 kB / 0.5554 GB, free: 18.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01234, allocations: 0 / 0.5554 GB, free: 18.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.01235, allocations: 4 kB / 0.5554 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.01235, allocations: 4 kB / 0.5554 GB, free: 18.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.01243, allocations: 76.64 kB / 0.5554 GB, free: 18.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.01284, allocations: 373 kB / 0.5558 GB, free: 18.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.01302, allocations: 112.1 kB / 0.5559 GB, free: 18.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.01305, allocations: 50.55 kB / 0.5559 GB, free: 18.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.01306, allocations: 4 kB / 0.556 GB, free: 18.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.01322, allocations: 199.2 kB / 0.5561 GB, free: 18.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.574e-06/0.01323, allocations: 0 / 0.5561 GB, free: 18.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000614/0.01384, allocations: 0.5094 MB / 0.5566 GB, free: 17.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.01389, allocations: 166.2 kB / 0.5568 GB, free: 17.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.522e-05/0.01398, allocations: 202.1 kB / 0.557 GB, free: 17.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.01399, allocations: 33.7 kB / 0.557 GB, free: 17.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.01404, allocations: 116.4 kB / 0.5571 GB, free: 16.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.01407, allocations: 75.39 kB / 0.5572 GB, free: 16.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.01412, allocations: 47.19 kB / 0.5572 GB, free: 16.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.01416, allocations: 338.8 kB / 0.5576 GB, free: 16.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.307e-05/0.01422, allocations: 101 kB / 0.5577 GB, free: 16.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.01429, allocations: 175.7 kB / 0.5578 GB, free: 16.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.01439, allocations: 218.2 kB / 0.558 GB, free: 15.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.01439, allocations: 0 / 0.558 GB, free: 15.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001619/0.01456, allocations: 264.4 kB / 0.5583 GB, free: 15.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.0146, allocations: 63.41 kB / 0.5584 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.0146, allocations: 7.062 kB / 0.5584 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.01462, allocations: 4 kB / 0.5584 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.0148, allocations: 63.89 kB / 0.5584 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.0148, allocations: 4 kB / 0.5584 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.662e-05/0.01488, allocations: 15.98 kB / 0.5584 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.01489, allocations: 15.94 kB / 0.5585 GB, free: 15.4 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.0001274/0.01502, allocations: 182.3 kB / 0.5586 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.01504, allocations: 15.98 kB / 0.5587 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.01507, allocations: 25.95 kB / 0.5587 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01508, allocations: 3.938 kB / 0.5587 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01508, allocations: 0 / 0.5587 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.0151, allocations: 19.86 kB / 0.5587 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01511, allocations: 15.92 kB / 0.5587 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.01513, allocations: 4 kB / 0.5587 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.01518, allocations: 8 kB / 0.5587 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.01524, allocations: 27.95 kB / 0.5588 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001877/0.01542, allocations: 267 kB / 0.559 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2593/0.2747, allocations: 414.4 kB / 0.5594 GB, free: 79.51 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.358e-05/0.2748, allocations: 83.19 kB / 0.5595 GB, free: 79.47 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.892e-05/0.2749, allocations: 61.44 kB / 0.5595 GB, free: 79.46 MB / 410.8 MB Notification: Performance of Backend: time 3.31e-07/0.2749, allocations: 0 / 0.5595 GB, free: 79.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004633/0.2753, allocations: 345.5 kB / 0.5599 GB, free: 79.22 MB / 410.8 MB Notification: Performance of SimCode: time 0.007534/0.2829, allocations: 1.118 MB / 0.561 GB, free: 78.41 MB / 410.8 MB Notification: Performance of Templates: time 0.007033/0.2899, allocations: 3.869 MB / 0.5647 GB, free: 78.25 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6164349978789687]