Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.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.001363/0.001363, allocations: 100.4 kB / 19.7 MB, free: 440 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.001151/0.001151, allocations: 219.5 kB / 23 MB, free: 2.961 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.9979/0.9979, 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.7445/0.7445, allocations: 312.3 MB / 0.6109 GB, free: 97.67 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.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference") [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.001458/0.001458, allocations: 79.73 kB / 0.7699 GB, free: 20.3 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1104, allocations: 73.97 MB / 0.8421 GB, free: 10.46 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference): time 0.002605/0.113, allocations: 2.283 MB / 0.8444 GB, free: 8.176 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005288/0.1183, allocations: 6.533 MB / 0.8507 GB, free: 1.641 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.1185, allocations: 0 / 0.8507 GB, free: 1.641 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.1186, allocations: 28.31 kB / 0.8508 GB, free: 1.613 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.1188, allocations: 80.5 kB / 0.8508 GB, free: 1.535 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.119, allocations: 52.41 kB / 0.8509 GB, free: 1.484 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.1192, allocations: 263.4 kB / 0.8511 GB, free: 1.227 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1194, allocations: 32.56 kB / 0.8512 GB, free: 1.195 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1195, allocations: 96.16 kB / 0.8513 GB, free: 1.102 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1197, allocations: 100.2 kB / 0.8514 GB, free: 1.004 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.1197, allocations: 16 kB / 0.8514 GB, free: 0.9883 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.542e-05/0.1197, allocations: 16.59 kB / 0.8514 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.215e-05/0.1198, allocations: 39.84 kB / 0.8514 GB, free: 0.9336 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.1198, allocations: 96.03 kB / 0.8515 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.12, allocations: 195.8 kB / 0.8517 GB, free: 0.6484 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.12, allocations: 0 / 0.8517 GB, free: 0.6484 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.12, allocations: 0.625 kB / 0.8517 GB, free: 0.6484 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1201, allocations: 0.75 kB / 0.8517 GB, free: 0.6484 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000692/0.1207, allocations: 0.4903 MB / 0.8522 GB, free: 116 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1208, allocations: 8.625 kB / 0.8522 GB, free: 108 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.1211, allocations: 24.8 kB / 0.8522 GB, free: 84 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1213, allocations: 179.8 kB / 0.8524 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1213, allocations: 12.61 kB / 0.8524 GB, free: 15.87 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.1214, allocations: 20.52 kB / 0.8524 GB, free: 15.85 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.1216, allocations: 195.1 kB / 0.8526 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1216, allocations: 3.938 kB / 0.8526 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1217, allocations: 4.625 kB / 0.8526 GB, free: 15.63 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.1217, allocations: 8.531 kB / 0.8526 GB, free: 15.62 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.1219, allocations: 142.9 kB / 0.8528 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.1224, allocations: 494.6 kB / 0.8532 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.1228, allocations: 169.3 kB / 0.8534 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1229, allocations: 103.5 kB / 0.8535 GB, free: 14.68 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1229, allocations: 0 / 0.8535 GB, free: 14.68 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.1232, allocations: 229.9 kB / 0.8537 GB, free: 14.42 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.1232, allocations: 0 / 0.8537 GB, free: 14.42 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001031/0.1242, allocations: 0.6989 MB / 0.8544 GB, free: 13.67 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.1243, allocations: 144.5 kB / 0.8545 GB, free: 13.5 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1245, allocations: 211 kB / 0.8547 GB, free: 13.28 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1245, allocations: 34.48 kB / 0.8548 GB, free: 13.24 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.1246, allocations: 128.5 kB / 0.8549 GB, free: 13.11 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.1246, allocations: 80.06 kB / 0.855 GB, free: 13.04 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.1247, allocations: 53.66 kB / 0.855 GB, free: 12.98 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.1247, allocations: 339.3 kB / 0.8553 GB, free: 12.64 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.1249, allocations: 141.6 kB / 0.8555 GB, free: 12.48 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1251, allocations: 226.9 kB / 0.8557 GB, free: 12.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2612/0.3862, allocations: 273.8 kB / 0.856 GB, free: 30.43 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3862, allocations: 1.969 kB / 0.856 GB, free: 30.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006562/0.3869, allocations: 396.3 kB / 0.8563 GB, free: 30.27 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.3869, allocations: 70.72 kB / 0.8564 GB, free: 30.21 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3869, allocations: 4.875 kB / 0.8564 GB, free: 30.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.387, allocations: 4.406 kB / 0.8564 GB, free: 30.21 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.3871, allocations: 45.97 kB / 0.8565 GB, free: 30.21 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3871, allocations: 8.438 kB / 0.8565 GB, free: 30.21 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.3873, allocations: 21.55 kB / 0.8565 GB, free: 30.21 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3873, allocations: 11.88 kB / 0.8565 GB, free: 30.21 MB / 490.8 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.0002048/0.3875, allocations: 169.3 kB / 0.8567 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.3876, allocations: 31.33 kB / 0.8567 GB, free: 30.07 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.3876, allocations: 22.81 kB / 0.8567 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3876, allocations: 2.844 kB / 0.8567 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3876, allocations: 0 / 0.8567 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3876, allocations: 4.281 kB / 0.8567 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000649/0.3883, allocations: 0.5318 MB / 0.8572 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3883, allocations: 0 / 0.8572 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.3884, allocations: 42.94 kB / 0.8573 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3884, allocations: 0 / 0.8573 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.3884, allocations: 9.172 kB / 0.8573 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3884, allocations: 0 / 0.8573 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3884, allocations: 7.281 kB / 0.8573 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.389, allocations: 0.498 MB / 0.8578 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.3891, allocations: 16.02 kB / 0.8578 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.3891, allocations: 6.969 kB / 0.8578 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.3892, allocations: 15.36 kB / 0.8578 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.3893, allocations: 19.05 kB / 0.8578 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.3893, allocations: 6.703 kB / 0.8578 GB, free: 29.53 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001227/0.3894, allocations: 161 kB / 0.858 GB, free: 29.46 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.3894, allocations: 3.062 kB / 0.858 GB, free: 29.46 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.00032/0.3898, allocations: 58.16 kB / 0.8581 GB, free: 29.46 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 9.943e-05/0.3899, allocations: 113.7 kB / 0.8582 GB, free: 29.37 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.3902, allocations: 389.3 kB / 0.8585 GB, free: 29.15 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3902, allocations: 0 / 0.8585 GB, free: 29.15 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.3904, allocations: 163.3 kB / 0.8587 GB, free: 29.05 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3907, allocations: 67.16 kB / 0.8588 GB, free: 29.05 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.3918, allocations: 0.7068 MB / 0.8594 GB, free: 28.74 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.168e-05/0.3918, allocations: 123.4 kB / 0.8596 GB, free: 28.66 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.3919, allocations: 26.06 kB / 0.8596 GB, free: 28.66 MB / 490.8 MB Notification: Performance of SimCode: time 8.21e-07/0.3919, allocations: 0 / 0.8596 GB, free: 28.66 MB / 490.8 MB Notification: Performance of Templates: time 0.005087/0.397, allocations: 2.951 MB / 0.8625 GB, free: 28.45 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium_Fisher1990_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.023258863948286]