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.00192/0.00192, allocations: 109.5 kB / 18.95 MB, free: 1.172 MB / 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.00263/0.00263, allocations: 210.2 kB / 22.25 MB, free: 3.57 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.72/1.72, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 178] 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 1.491/1.491, allocations: 316.7 MB / 0.6144 GB, free: 93.05 MB / 410.7 MB " [Timeout remaining time 178] 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: 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.003861/0.003861, allocations: 73.23 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1662, allocations: 73.98 MB / 0.8472 GB, free: 4.879 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate): time 0.004572/0.1708, allocations: 2.311 MB / 0.8495 GB, free: 2.57 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3755/0.5463, allocations: 6.52 MB / 0.8558 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.5466, allocations: 4.375 kB / 0.8558 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.5467, allocations: 24 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.5469, allocations: 79.91 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.5472, allocations: 57.3 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.5475, allocations: 260.8 kB / 0.8562 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.5476, allocations: 31.09 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.5477, allocations: 97.8 kB / 0.8564 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.5479, allocations: 96.64 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.548, allocations: 15.66 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.438e-05/0.548, allocations: 20.03 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.548, allocations: 41.81 kB / 0.8565 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.5481, allocations: 94.56 kB / 0.8566 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.5484, allocations: 200.9 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5484, allocations: 0 / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.82e-07/0.5484, allocations: 0 / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.5484, allocations: 1.688 kB / 0.8568 GB, free: 21.86 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.0007454/0.5492, allocations: 0.4891 MB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.637e-05/0.5492, allocations: 7.406 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.5492, allocations: 26.3 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.5495, allocations: 183.2 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.5495, allocations: 9.078 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.5495, allocations: 25.64 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.5498, allocations: 185.7 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.5499, allocations: 1.719 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.5499, allocations: 3.844 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.5499, allocations: 7.031 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.5502, allocations: 148.7 kB / 0.8579 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.5509, allocations: 479.8 kB / 0.8583 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.5513, allocations: 174.4 kB / 0.8585 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.5515, allocations: 94.02 kB / 0.8586 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.5515, allocations: 7.281 kB / 0.8586 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.5518, allocations: 225.5 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.292e-06/0.5518, allocations: 1.281 kB / 0.8588 GB, free: 20.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001348/0.5532, allocations: 0.7043 MB / 0.8595 GB, free: 20.28 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.5532, allocations: 138.5 kB / 0.8596 GB, free: 20.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.5534, allocations: 217.2 kB / 0.8598 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.5535, allocations: 28.77 kB / 0.8599 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.5535, allocations: 133.3 kB / 0.86 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.5536, allocations: 72.81 kB / 0.8601 GB, free: 19.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.5537, allocations: 54.09 kB / 0.8601 GB, free: 19.83 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.5537, allocations: 337.6 kB / 0.8604 GB, free: 19.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.554, allocations: 147.2 kB / 0.8606 GB, free: 19.44 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.5542, allocations: 223 kB / 0.8608 GB, free: 19.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.5546, allocations: 283.3 kB / 0.8611 GB, free: 19.1 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5546, allocations: 0 / 0.8611 GB, free: 19.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005959/0.5552, allocations: 383.2 kB / 0.8614 GB, free: 18.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.5552, allocations: 65.78 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5553, allocations: 6.719 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.5553, allocations: 5.359 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.5555, allocations: 51.3 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.5555, allocations: 5.031 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.5557, allocations: 16.42 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.5557, allocations: 14.2 kB / 0.8616 GB, free: 18.86 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.0001825/0.5559, allocations: 180.7 kB / 0.8617 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.5559, allocations: 26.83 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.556, allocations: 23.31 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.556, allocations: 3.688 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.556, allocations: 4.5 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.556, allocations: 5.422 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000717/0.5567, allocations: 0.5325 MB / 0.8623 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5567, allocations: 2.344 kB / 0.8623 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.5569, allocations: 42.95 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5569, allocations: 3.938 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.5569, allocations: 7.531 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5569, allocations: 3.938 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5569, allocations: 2.688 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.5577, allocations: 0.4889 MB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.5577, allocations: 23.61 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.5577, allocations: 7.781 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.5579, allocations: 18.33 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.558, allocations: 21.62 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.558, allocations: 7.156 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001392/0.5582, allocations: 164.2 kB / 0.8631 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.5582, allocations: 3.625 kB / 0.8631 GB, free: 18.02 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003643/0.5585, allocations: 49.78 kB / 0.8632 GB, free: 18.02 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 0.0001432/0.5587, allocations: 114.9 kB / 0.8633 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006061/0.5593, allocations: 383.5 kB / 0.8636 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5593, allocations: 0 / 0.8636 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.5595, allocations: 175.1 kB / 0.8638 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.56, allocations: 69.36 kB / 0.8639 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.5613, allocations: 0.6797 MB / 0.8645 GB, free: 17.28 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.5615, allocations: 126.5 kB / 0.8646 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.5616, allocations: 23.41 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.113e-05/0.5617, allocations: 20.41 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of SimCode: time 9.42e-07/0.5617, allocations: 0 / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of Templates: time 0.01107/0.5728, allocations: 3.651 MB / 0.8683 GB, free: 16.87 MB / 490.8 MB " [Timeout remaining time 659] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.OrphenadrineCitrate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.785798477008939]