Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.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.001631/0.001631, allocations: 108.3 kB / 19.71 MB, free: 432 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.002072/0.002072, allocations: 217.4 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.997/0.997, 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.7486/0.7486, allocations: 312.3 MB / 0.6108 GB, free: 97.51 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.M03AC06_PipecuroniumBromide.PipecuroniumBromide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide") [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.001645/0.001645, allocations: 71.48 kB / 0.7699 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1221, allocations: 73.98 MB / 0.8421 GB, free: 10.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide): time 0.002552/0.1247, allocations: 2.316 MB / 0.8444 GB, free: 7.961 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005262/0.13, allocations: 6.517 MB / 0.8508 GB, free: 1.441 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1301, allocations: 8.438 kB / 0.8508 GB, free: 1.434 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.1302, allocations: 23.72 kB / 0.8508 GB, free: 1.41 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.1304, allocations: 80.64 kB / 0.8509 GB, free: 1.332 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.1306, allocations: 48.55 kB / 0.8509 GB, free: 1.285 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.1309, allocations: 263.3 kB / 0.8512 GB, free: 1.027 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.131, allocations: 28.58 kB / 0.8512 GB, free: 1 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1311, allocations: 108.2 kB / 0.8513 GB, free: 0.8945 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.1313, allocations: 92.19 kB / 0.8514 GB, free: 0.8047 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1313, allocations: 16 kB / 0.8514 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.479e-05/0.1313, allocations: 16.59 kB / 0.8514 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.1314, allocations: 44.33 kB / 0.8515 GB, free: 0.7305 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.1314, allocations: 91.53 kB / 0.8515 GB, free: 0.6406 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1316, allocations: 199.8 kB / 0.8517 GB, free: 456 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1316, allocations: 0.5938 kB / 0.8517 GB, free: 456 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1316, allocations: 0 / 0.8517 GB, free: 456 kB / 474.8 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.1316, allocations: 0.625 kB / 0.8517 GB, free: 456 kB / 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.0006692/0.1323, allocations: 498.6 kB / 0.8522 GB, free: 15.91 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1323, allocations: 16.02 kB / 0.8522 GB, free: 15.9 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.1324, allocations: 25.33 kB / 0.8522 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.1326, allocations: 179.8 kB / 0.8524 GB, free: 15.67 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1326, allocations: 8.609 kB / 0.8524 GB, free: 15.66 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.1326, allocations: 28.33 kB / 0.8525 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.1329, allocations: 187 kB / 0.8526 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1329, allocations: 0.6562 kB / 0.8526 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.1329, allocations: 11.98 kB / 0.8526 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1329, allocations: 0.625 kB / 0.8526 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.1331, allocations: 147.5 kB / 0.8528 GB, free: 15.28 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.1339, allocations: 482.6 kB / 0.8532 GB, free: 14.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.1342, allocations: 173.3 kB / 0.8534 GB, free: 14.59 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1343, allocations: 95.11 kB / 0.8535 GB, free: 14.49 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1343, allocations: 4.688 kB / 0.8535 GB, free: 14.48 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.1345, allocations: 227.4 kB / 0.8537 GB, free: 14.23 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.1345, allocations: 4.656 kB / 0.8537 GB, free: 14.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.000952/0.1355, allocations: 0.7083 MB / 0.8544 GB, free: 13.46 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.1356, allocations: 137 kB / 0.8545 GB, free: 13.3 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.1357, allocations: 215.6 kB / 0.8548 GB, free: 13.08 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1357, allocations: 29.7 kB / 0.8548 GB, free: 13.04 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.1358, allocations: 137 kB / 0.8549 GB, free: 12.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.1358, allocations: 67.94 kB / 0.855 GB, free: 12.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.1359, allocations: 61.64 kB / 0.855 GB, free: 12.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.136, allocations: 339.4 kB / 0.8554 GB, free: 12.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1361, allocations: 141.6 kB / 0.8555 GB, free: 12.28 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.1363, allocations: 229.8 kB / 0.8557 GB, free: 12.01 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2316/0.3679, allocations: 274.5 kB / 0.856 GB, free: 30.27 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3679, allocations: 1.406 kB / 0.856 GB, free: 30.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003925/0.3683, allocations: 388.6 kB / 0.8563 GB, free: 30.11 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.3683, allocations: 66.16 kB / 0.8564 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3683, allocations: 5.844 kB / 0.8564 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3684, allocations: 5.094 kB / 0.8564 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.3685, allocations: 51.8 kB / 0.8565 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3685, allocations: 5.25 kB / 0.8565 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.3686, allocations: 17.02 kB / 0.8565 GB, free: 30.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.3686, allocations: 12.75 kB / 0.8565 GB, free: 30.05 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.0001552/0.3688, allocations: 173.5 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.3688, allocations: 24.42 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.3689, allocations: 25.11 kB / 0.8567 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3689, allocations: 5.344 kB / 0.8567 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3689, allocations: 1.125 kB / 0.8567 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3689, allocations: 1.172 kB / 0.8567 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/0.3694, allocations: 0.5341 MB / 0.8572 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3694, allocations: 5.656 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.3695, allocations: 37.11 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.3695, allocations: 0 / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3695, allocations: 4.406 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3695, allocations: 5.906 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3695, allocations: 0.9844 kB / 0.8573 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.3699, allocations: 0.496 MB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.37, allocations: 17.75 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.37, allocations: 9.484 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.3701, allocations: 13.72 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.3701, allocations: 23.78 kB / 0.8578 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.3702, allocations: 12.45 kB / 0.8579 GB, free: 29.37 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.322e-05/0.3702, allocations: 157.7 kB / 0.858 GB, free: 29.3 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3702, allocations: 0 / 0.858 GB, free: 29.3 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001953/0.3704, allocations: 54.59 kB / 0.8581 GB, free: 29.3 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.008e-05/0.3705, allocations: 120.5 kB / 0.8582 GB, free: 29.21 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.3708, allocations: 376 kB / 0.8585 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3708, allocations: 0 / 0.8585 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.371, allocations: 178.7 kB / 0.8587 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.3713, allocations: 67.16 kB / 0.8588 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008564/0.3721, allocations: 0.7047 MB / 0.8595 GB, free: 28.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.407e-05/0.3722, allocations: 127.8 kB / 0.8596 GB, free: 28.49 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.3722, allocations: 24.19 kB / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of SimCode: time 6.62e-07/0.3722, allocations: 0 / 0.8596 GB, free: 28.48 MB / 490.8 MB Notification: Performance of Templates: time 0.003934/0.3762, allocations: 2.954 MB / 0.8625 GB, free: 28.28 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC06_PipecuroniumBromide.PipecuroniumBromide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.15236680675298]