Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.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.0007158/0.0007158, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008787/0.001595, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.0006795/0.0006795, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008669/0.001546, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.052/1.052, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09056/1.143, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.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.8423/0.8423, allocations: 291.2 MB / 0.5225 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03954/0.8818, allocations: 21.05 MB / 0.5431 GB, free: 31.95 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.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.586e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30): time 0.002373/0.002409, allocations: 0.7 MB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 4.3e-05/0.002452, allocations: 11.92 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.002478, allocations: 4 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.855e-06/0.002486, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.032e-05/0.002496, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.077e-05/0.002537, allocations: 4 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.4e-05/0.002611, allocations: 19.91 kB / 0.5451 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.00266, allocations: 3.938 kB / 0.5451 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.002725, allocations: 15.98 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.002788, allocations: 3.984 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.002813, allocations: 4 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-06/0.00282, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.002834, allocations: 3.938 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.002856, allocations: 8 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.603e-05/0.002922, allocations: 4 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.036e-05/0.002942, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002943, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.00296, allocations: 4 kB / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003686/0.003328, allocations: 243 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.003366, allocations: 15.84 kB / 0.5454 GB, free: 29.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.003395, allocations: 0.9375 kB / 0.5454 GB, free: 29.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.537e-05/0.00347, allocations: 109.8 kB / 0.5455 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.003487, allocations: 12.25 kB / 0.5455 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.003494, allocations: 4.375 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.769e-05/0.003572, allocations: 38.25 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.00358, allocations: 192 / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.003587, allocations: 384 / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.003593, allocations: 384 / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.003616, allocations: 7.938 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.958e-05/0.003715, allocations: 65.03 kB / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.0039, allocations: 42.55 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.003926, allocations: 16.84 kB / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-06/0.003934, allocations: 7.984 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.003955, allocations: 34.56 kB / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.003956, allocations: 0 / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.000125/0.004081, allocations: 41.78 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.004104, allocations: 51.41 kB / 0.5458 GB, free: 29.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.093e-05/0.004145, allocations: 106.7 kB / 0.5459 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.73e-06/0.004151, allocations: 25.7 kB / 0.546 GB, free: 28.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.331e-05/0.004164, allocations: 84.12 kB / 0.5461 GB, free: 28.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.004194, allocations: 19.84 kB / 0.5461 GB, free: 28.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.004218, allocations: 13.66 kB / 0.5461 GB, free: 28.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.921e-05/0.004258, allocations: 326.8 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.004265, allocations: 8 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.004272, allocations: 0 / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.004297, allocations: 16.84 kB / 0.5464 GB, free: 28.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.004299, allocations: 0 / 0.5464 GB, free: 28.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.821e-05/0.004337, allocations: 41.69 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.004348, allocations: 4 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004353, allocations: 0 / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.004362, allocations: 4 kB / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.216e-05/0.004405, allocations: 11.94 kB / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.004409, allocations: 2.75 kB / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.00442, allocations: 0 / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.004423, allocations: 8 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 3.454e-05/0.004457, allocations: 109.8 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-06/0.004462, allocations: 7.984 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.004481, allocations: 7.688 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.004483, allocations: 3.938 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.004485, allocations: 0 / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.004487, allocations: 0 / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.48e-05/0.004532, allocations: 69.84 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004533, allocations: 0 / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.004549, allocations: 11.98 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-06/0.004553, allocations: 4 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.004554, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-06/0.004557, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.004558, allocations: 4 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.004559, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.756e-05/0.004606, allocations: 76.98 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-06/0.004613, allocations: 0 / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-06/0.00462, allocations: 0 / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.004633, allocations: 3.984 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.004634, allocations: 4.375 kB / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.007e-06/0.004643, allocations: 12.48 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004643, allocations: 4 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.982e-05/0.004733, allocations: 8 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 5.77e-05/0.004791, allocations: 76.42 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.875e-05/0.00485, allocations: 28.77 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.004852, allocations: 0 / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.004861, allocations: 12.86 kB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.125e-05/0.004932, allocations: 5.906 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.005124, allocations: 158.1 kB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.966e-05/0.005154, allocations: 67.34 kB / 0.5471 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.005185, allocations: 47.38 kB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005186, allocations: 4 kB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of Templates: time 0.001181/0.006367, allocations: 0.507 MB / 0.5477 GB, free: 27.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.026750193908811]