Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_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.001229/0.001229, allocations: 104.3 kB / 19.71 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.000891/0.000891, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.9448/0.9448, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.6967/0.6967, allocations: 312.3 MB / 0.6108 GB, free: 97.02 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.Orphenadrine_Elghazali2008_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_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.001534/0.001534, allocations: 85.72 kB / 0.7699 GB, free: 19.65 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.13, allocations: 73.98 MB / 0.8421 GB, free: 9.793 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference): time 0.003101/0.1331, allocations: 2.283 MB / 0.8443 GB, free: 7.512 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006126/0.1392, allocations: 6.521 MB / 0.8507 GB, free: 0.9883 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1393, allocations: 3.938 kB / 0.8507 GB, free: 0.9844 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.1394, allocations: 28.25 kB / 0.8507 GB, free: 0.957 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.1397, allocations: 76.58 kB / 0.8508 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.1399, allocations: 56.36 kB / 0.8509 GB, free: 0.8281 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.1401, allocations: 259.2 kB / 0.8511 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.1403, allocations: 32.56 kB / 0.8511 GB, free: 0.543 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1404, allocations: 100.2 kB / 0.8512 GB, free: 456 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1406, allocations: 100 kB / 0.8513 GB, free: 356 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.1406, allocations: 16.66 kB / 0.8514 GB, free: 340 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.755e-05/0.1406, allocations: 16 kB / 0.8514 GB, free: 324 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.1407, allocations: 36.39 kB / 0.8514 GB, free: 288 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.1408, allocations: 96.09 kB / 0.8515 GB, free: 192 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.141, allocations: 199.2 kB / 0.8517 GB, free: 15.99 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.141, allocations: 0.5938 kB / 0.8517 GB, free: 15.99 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.884e-06/0.141, allocations: 0.5 kB / 0.8517 GB, free: 15.99 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.141, allocations: 0 / 0.8517 GB, free: 15.99 MB / 490.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.0006535/0.1416, allocations: 0.4908 MB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1417, allocations: 16.56 kB / 0.8522 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.1417, allocations: 20.8 kB / 0.8522 GB, free: 15.42 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.1419, allocations: 179.8 kB / 0.8524 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1419, allocations: 12.61 kB / 0.8524 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1419, allocations: 20.39 kB / 0.8524 GB, free: 15.19 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.1422, allocations: 195 kB / 0.8526 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1422, allocations: 4.672 kB / 0.8526 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1422, allocations: 4.562 kB / 0.8526 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1422, allocations: 4 kB / 0.8526 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.1424, allocations: 147.4 kB / 0.8527 GB, free: 14.82 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.143, allocations: 482.9 kB / 0.8532 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.1433, allocations: 184.7 kB / 0.8534 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1434, allocations: 95.33 kB / 0.8535 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.1434, allocations: 3.938 kB / 0.8535 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1436, allocations: 233.1 kB / 0.8537 GB, free: 13.76 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.154e-06/0.1436, allocations: 0.5 kB / 0.8537 GB, free: 13.76 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009306/0.1446, allocations: 0.6984 MB / 0.8544 GB, free: 13.01 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.1446, allocations: 141.2 kB / 0.8545 GB, free: 12.84 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1448, allocations: 214.9 kB / 0.8547 GB, free: 12.62 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1448, allocations: 38.31 kB / 0.8548 GB, free: 12.58 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.1449, allocations: 128.5 kB / 0.8549 GB, free: 12.45 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.1449, allocations: 76.06 kB / 0.855 GB, free: 12.38 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.145, allocations: 54.38 kB / 0.855 GB, free: 12.32 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.145, allocations: 338.8 kB / 0.8553 GB, free: 11.98 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2757/0.4208, allocations: 142.9 kB / 0.8555 GB, free: 30.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.4209, allocations: 225.6 kB / 0.8557 GB, free: 30.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.4212, allocations: 279.5 kB / 0.8559 GB, free: 30.01 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4212, allocations: 0 / 0.8559 GB, free: 30.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004219/0.4216, allocations: 392.2 kB / 0.8563 GB, free: 29.85 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.4217, allocations: 65.06 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4217, allocations: 4.156 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.4217, allocations: 6.156 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.4218, allocations: 47.88 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4218, allocations: 7.438 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.422, allocations: 14.75 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.422, allocations: 17.5 kB / 0.8565 GB, free: 29.79 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.000187/0.4222, allocations: 177.2 kB / 0.8566 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.4222, allocations: 29.66 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.4222, allocations: 20.39 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4222, allocations: 2.594 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4222, allocations: 0.9062 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4222, allocations: 0.7031 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.4228, allocations: 0.5386 MB / 0.8572 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4228, allocations: 0.5312 kB / 0.8572 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.4229, allocations: 37.72 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.4229, allocations: 3.094 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.4229, allocations: 6.062 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4229, allocations: 6.094 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4229, allocations: 0.625 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.4234, allocations: 495.8 kB / 0.8577 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.4234, allocations: 22.62 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.4234, allocations: 9.031 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.4235, allocations: 15.03 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.4236, allocations: 20.17 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.4236, allocations: 15.02 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.582e-05/0.4237, allocations: 156.5 kB / 0.858 GB, free: 29.03 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.4237, allocations: 0.5 kB / 0.858 GB, free: 29.03 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002031/0.4239, allocations: 56.56 kB / 0.858 GB, free: 29.03 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.981e-05/0.424, allocations: 122 kB / 0.8581 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.4243, allocations: 382.8 kB / 0.8585 GB, free: 28.71 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4244, allocations: 0 / 0.8585 GB, free: 28.71 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.4245, allocations: 171.5 kB / 0.8587 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.4248, allocations: 63.84 kB / 0.8587 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009985/0.4258, allocations: 0.7061 MB / 0.8594 GB, free: 28.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.805e-05/0.4259, allocations: 126 kB / 0.8595 GB, free: 28.22 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.4259, allocations: 19.97 kB / 0.8596 GB, free: 28.21 MB / 490.8 MB Notification: Performance of SimCode: time 4.81e-07/0.4259, allocations: 3.781 kB / 0.8596 GB, free: 28.21 MB / 490.8 MB Notification: Performance of Templates: time 0.004881/0.4308, allocations: 2.949 MB / 0.8624 GB, free: 27.99 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.006779559887946]