Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.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.0009877/0.0009877, allocations: 104.4 kB / 19.71 MB, free: 436 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.00189/0.00189, allocations: 217.3 kB / 23.01 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.998/0.998, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.764/0.764, allocations: 312.3 MB / 0.6108 GB, free: 97.04 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.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine") [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.00151/0.00151, allocations: 71.3 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1277, allocations: 73.99 MB / 0.8422 GB, free: 9.832 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine): time 0.002607/0.1303, allocations: 2.318 MB / 0.8444 GB, free: 7.516 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.1354, allocations: 6.533 MB / 0.8508 GB, free: 0.9805 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1355, allocations: 0.5 kB / 0.8508 GB, free: 0.9805 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.1356, allocations: 28.22 kB / 0.8508 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.1358, allocations: 80.05 kB / 0.8509 GB, free: 0.875 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.136, allocations: 48.56 kB / 0.851 GB, free: 0.8281 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.1363, allocations: 263.3 kB / 0.8512 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.1364, allocations: 33.3 kB / 0.8512 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.1366, allocations: 103.6 kB / 0.8513 GB, free: 448 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1367, allocations: 100.1 kB / 0.8514 GB, free: 348 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.1368, allocations: 16.59 kB / 0.8514 GB, free: 332 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.079e-05/0.1368, allocations: 16 kB / 0.8515 GB, free: 316 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.1368, allocations: 40.3 kB / 0.8515 GB, free: 276 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.845e-05/0.1369, allocations: 88.25 kB / 0.8516 GB, free: 188 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.1372, allocations: 203.1 kB / 0.8518 GB, free: 15.98 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1372, allocations: 0.5 kB / 0.8518 GB, free: 15.98 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1372, allocations: 0.5625 kB / 0.8518 GB, free: 15.98 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1372, allocations: 0 / 0.8518 GB, free: 15.98 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.0007193/0.1379, allocations: 494.6 kB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1379, allocations: 8.625 kB / 0.8523 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.138, allocations: 24.8 kB / 0.8523 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.1382, allocations: 183.7 kB / 0.8525 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.1382, allocations: 21.17 kB / 0.8525 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.1383, allocations: 19.89 kB / 0.8525 GB, free: 15.18 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.1385, allocations: 191 kB / 0.8527 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1386, allocations: 8.516 kB / 0.8527 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1386, allocations: 4.531 kB / 0.8527 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1386, allocations: 4 kB / 0.8527 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.1388, allocations: 139.5 kB / 0.8528 GB, free: 14.82 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006296/0.1395, allocations: 490.7 kB / 0.8533 GB, free: 14.31 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.1398, allocations: 180.6 kB / 0.8535 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.14, allocations: 91.66 kB / 0.8536 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.14, allocations: 0.5625 kB / 0.8536 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.1402, allocations: 229 kB / 0.8538 GB, free: 13.77 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.1402, allocations: 0.7188 kB / 0.8538 GB, free: 13.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001086/0.1413, allocations: 0.6969 MB / 0.8545 GB, free: 13.01 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.1414, allocations: 141.1 kB / 0.8546 GB, free: 12.84 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.1416, allocations: 215.9 kB / 0.8548 GB, free: 12.62 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1416, allocations: 34.33 kB / 0.8548 GB, free: 12.59 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.1417, allocations: 133.1 kB / 0.855 GB, free: 12.45 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.1417, allocations: 71.48 kB / 0.855 GB, free: 12.38 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.1418, allocations: 62.11 kB / 0.8551 GB, free: 12.32 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.1419, allocations: 338.8 kB / 0.8554 GB, free: 11.98 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2847/0.4265, allocations: 139.5 kB / 0.8555 GB, free: 30.29 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4267, allocations: 220.2 kB / 0.8557 GB, free: 30.13 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.427, allocations: 283.5 kB / 0.856 GB, free: 29.97 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.427, allocations: 1.469 kB / 0.856 GB, free: 29.97 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004682/0.4275, allocations: 388.6 kB / 0.8564 GB, free: 29.81 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/0.4275, allocations: 69.09 kB / 0.8565 GB, free: 29.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4275, allocations: 3.5 kB / 0.8565 GB, free: 29.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.4276, allocations: 2.656 kB / 0.8565 GB, free: 29.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.4277, allocations: 50.47 kB / 0.8565 GB, free: 29.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.4277, allocations: 8.672 kB / 0.8565 GB, free: 29.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.4279, allocations: 23.11 kB / 0.8565 GB, free: 29.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.4279, allocations: 9.188 kB / 0.8566 GB, free: 29.75 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.0002133/0.4281, allocations: 181.4 kB / 0.8567 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.4281, allocations: 22.08 kB / 0.8567 GB, free: 29.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.4282, allocations: 20.61 kB / 0.8568 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4282, allocations: 9.344 kB / 0.8568 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.4282, allocations: 0 / 0.8568 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4282, allocations: 1.359 kB / 0.8568 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006309/0.4288, allocations: 0.5365 MB / 0.8573 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4288, allocations: 2.344 kB / 0.8573 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.4289, allocations: 38.69 kB / 0.8573 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.429, allocations: 0 / 0.8573 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.429, allocations: 8.375 kB / 0.8573 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.429, allocations: 8.391 kB / 0.8574 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.429, allocations: 0 / 0.8574 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.4295, allocations: 499.2 kB / 0.8578 GB, free: 29.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.4295, allocations: 19.84 kB / 0.8578 GB, free: 29.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.4295, allocations: 10.25 kB / 0.8579 GB, free: 29.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.4296, allocations: 15.89 kB / 0.8579 GB, free: 29.07 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.4297, allocations: 22.55 kB / 0.8579 GB, free: 29.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.4297, allocations: 8.016 kB / 0.8579 GB, free: 29.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001022/0.4298, allocations: 159.6 kB / 0.8581 GB, free: 29 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4298, allocations: 2.625 kB / 0.8581 GB, free: 29 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002029/0.43, allocations: 52.88 kB / 0.8581 GB, free: 29 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.0001091/0.4301, allocations: 116.9 kB / 0.8582 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003644/0.4305, allocations: 377.6 kB / 0.8586 GB, free: 28.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4305, allocations: 0 / 0.8586 GB, free: 28.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.4306, allocations: 177.7 kB / 0.8587 GB, free: 28.58 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.431, allocations: 68.42 kB / 0.8588 GB, free: 28.58 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.432, allocations: 0.7012 MB / 0.8595 GB, free: 28.27 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.788e-05/0.432, allocations: 126.8 kB / 0.8596 GB, free: 28.19 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.4321, allocations: 27.38 kB / 0.8596 GB, free: 28.18 MB / 490.8 MB Notification: Performance of SimCode: time 9.72e-07/0.4321, allocations: 0 / 0.8596 GB, free: 28.18 MB / 490.8 MB Notification: Performance of Templates: time 0.004852/0.437, allocations: 2.939 MB / 0.8625 GB, free: 27.97 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.087676567956805]