Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.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.001197/0.001197, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001636/0.002833, 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.001134/0.001134, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.002333, 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.9998/0.9998, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.114/1.114, allocations: 53.66 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.8102/0.8102, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03044/0.8407, allocations: 21.06 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.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine") translateModel(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5446 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.309e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine): time 0.002799/0.002822, allocations: 2.483 MB / 0.547 GB, free: 28.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005908/0.00873, allocations: 0.6271 MB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.008847, allocations: 0 / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.559e-05/0.008923, allocations: 27.66 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.009082, allocations: 83.33 kB / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.009227, allocations: 59.8 kB / 0.5478 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.009446, allocations: 262.6 kB / 0.548 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.009565, allocations: 42.47 kB / 0.5481 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.00975, allocations: 172.3 kB / 0.5482 GB, free: 26.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.009917, allocations: 87.72 kB / 0.5483 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.009946, allocations: 19.94 kB / 0.5483 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.412e-05/0.00997, allocations: 16 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.01, allocations: 27.88 kB / 0.5484 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.773e-05/0.01007, allocations: 63.88 kB / 0.5484 GB, free: 26.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.01025, allocations: 139.5 kB / 0.5486 GB, free: 26.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.01026, allocations: 4 kB / 0.5486 GB, free: 26.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01026, allocations: 0 / 0.5486 GB, free: 26.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.01027, allocations: 0 / 0.5486 GB, free: 26.45 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.0005798/0.01085, allocations: 0.4937 MB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.01088, allocations: 15.89 kB / 0.5491 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.01093, allocations: 24.92 kB / 0.5491 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.01109, allocations: 179 kB / 0.5493 GB, free: 25.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.01111, allocations: 8.609 kB / 0.5493 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.01113, allocations: 20.38 kB / 0.5493 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.01437, allocations: 159.5 kB / 0.5494 GB, free: 25.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.01439, allocations: 0 / 0.5494 GB, free: 25.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.0144, allocations: 3.938 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.01441, allocations: 7.938 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.0145, allocations: 80.69 kB / 0.5495 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.01496, allocations: 357 kB / 0.5499 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.01516, allocations: 116.1 kB / 0.55 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.01521, allocations: 62.48 kB / 0.55 GB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.01522, allocations: 4 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.01538, allocations: 192.4 kB / 0.5502 GB, free: 24.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.114e-06/0.01538, allocations: 0 / 0.5502 GB, free: 24.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005946/0.01598, allocations: 0.5016 MB / 0.5507 GB, free: 24.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.01601, allocations: 166.2 kB / 0.5509 GB, free: 23.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.01611, allocations: 214.1 kB / 0.5511 GB, free: 23.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.01613, allocations: 29.7 kB / 0.5511 GB, free: 23.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.01617, allocations: 116.5 kB / 0.5512 GB, free: 23.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.01621, allocations: 71.39 kB / 0.5513 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.01627, allocations: 55.17 kB / 0.5513 GB, free: 23.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.01631, allocations: 334.8 kB / 0.5517 GB, free: 22.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/0.01637, allocations: 100.9 kB / 0.5518 GB, free: 22.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.01644, allocations: 169.4 kB / 0.5519 GB, free: 22.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.01656, allocations: 219.7 kB / 0.5521 GB, free: 22.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01656, allocations: 0 / 0.5521 GB, free: 22.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001923/0.01676, allocations: 269.4 kB / 0.5524 GB, free: 22.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.01679, allocations: 63.62 kB / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01679, allocations: 4 kB / 0.5524 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.0168, allocations: 4 kB / 0.5524 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.017, allocations: 67.83 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.017, allocations: 4 kB / 0.5525 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/0.02011, allocations: 15.98 kB / 0.5525 GB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.02014, allocations: 15.94 kB / 0.5525 GB, free: 21.92 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.00013/0.02027, allocations: 176.3 kB / 0.5527 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.02029, allocations: 19.98 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.02033, allocations: 25.95 kB / 0.5528 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.02033, allocations: 0 / 0.5528 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.02033, allocations: 0 / 0.5528 GB, free: 21.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.02036, allocations: 15.86 kB / 0.5528 GB, free: 21.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.02037, allocations: 15.92 kB / 0.5528 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.0204, allocations: 8 kB / 0.5528 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.02048, allocations: 11.98 kB / 0.5528 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.02052, allocations: 15.97 kB / 0.5528 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002234/0.02075, allocations: 272.1 kB / 0.5531 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002198/0.02097, allocations: 422.5 kB / 0.5535 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.137e-05/0.02104, allocations: 85.17 kB / 0.5536 GB, free: 20.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.007e-05/0.02109, allocations: 61.95 kB / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of Backend: time 3.71e-07/0.02109, allocations: 0 / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.02143, allocations: 346.4 kB / 0.554 GB, free: 20.36 MB / 410.7 MB Notification: Performance of SimCode: time 0.01103/0.03246, allocations: 1.111 MB / 0.555 GB, free: 19.2 MB / 410.7 MB Notification: Performance of Templates: time 0.005577/0.03803, allocations: 3.85 MB / 0.5588 GB, free: 15.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V03A_AllOtherTherapeuticProducts.V03AB14_Protamine.Protamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5508171170949936]