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.0007994/0.0007994, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001829, allocations: 435.8 kB / 10.33 MB, free: 368 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.001066/0.001066, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.002239, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.067/1.067, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1109/1.178, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7732/0.7732, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03576/0.809, allocations: 21.03 MB / 0.5431 GB, free: 31.96 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.042e-06/1.042e-06, allocations: 0 / 0.5445 GB, free: 30.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.634e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CD08_Midazolam.Midazolam_Lu1994_PD_tnw12_30): time 0.001327/0.001344, allocations: 0.6933 MB / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.144e-05/0.001375, allocations: 11.94 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.001393, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.109e-06/0.001398, allocations: 3.938 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.486e-06/0.001407, allocations: 3.938 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.209e-05/0.001429, allocations: 3.984 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.95e-05/0.001468, allocations: 15.98 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.914e-05/0.001497, allocations: 4 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.998e-05/0.001537, allocations: 15.91 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.001576, allocations: 4 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.00159, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-06/0.001595, allocations: 8 kB / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.001605, allocations: 3.938 kB / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.756e-05/0.001622, allocations: 4 kB / 0.5453 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 3.994e-05/0.001662, allocations: 11.92 kB / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.001672, allocations: 0 / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.001672, allocations: 0 / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.001681, allocations: 0 / 0.5453 GB, free: 29.81 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.000214/0.001895, allocations: 235.1 kB / 0.5455 GB, free: 29.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.001924, allocations: 15.84 kB / 0.5455 GB, free: 29.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.001945, allocations: 8.922 kB / 0.5455 GB, free: 29.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.541e-05/0.001991, allocations: 113.7 kB / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-06/0.001997, allocations: 4.375 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-06/0.002003, allocations: 4.312 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.995e-05/0.002053, allocations: 38.25 kB / 0.5457 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-06/0.002057, allocations: 4.188 kB / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-06/0.002062, allocations: 384 / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.002066, allocations: 384 / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.002086, allocations: 7.938 kB / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.637e-05/0.002152, allocations: 57.05 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.002286, allocations: 50.53 kB / 0.5458 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.002304, allocations: 16.86 kB / 0.5458 GB, free: 29.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-06/0.00231, allocations: 0 / 0.5458 GB, free: 29.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.102e-05/0.002321, allocations: 30.56 kB / 0.5458 GB, free: 29.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.002322, allocations: 0 / 0.5458 GB, free: 29.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 7.084e-05/0.002393, allocations: 41.97 kB / 0.5459 GB, free: 29.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.597e-05/0.002408, allocations: 59.34 kB / 0.5459 GB, free: 29.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.947e-05/0.002438, allocations: 109.8 kB / 0.546 GB, free: 28.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-06/0.002442, allocations: 29.7 kB / 0.5461 GB, free: 28.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-06/0.002451, allocations: 84.14 kB / 0.5461 GB, free: 28.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.002471, allocations: 15.83 kB / 0.5461 GB, free: 28.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.002495, allocations: 13.72 kB / 0.5462 GB, free: 28.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.577e-05/0.002521, allocations: 322.8 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-06/0.002529, allocations: 4 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.002537, allocations: 7.984 kB / 0.5465 GB, free: 28.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.32e-05/0.00256, allocations: 20.83 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.002561, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.333e-05/0.002605, allocations: 49.62 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.002615, allocations: 6.969 kB / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.002618, allocations: 0 / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-06/0.002624, allocations: 0 / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.418e-05/0.002658, allocations: 8 kB / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.002661, allocations: 4 kB / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.002673, allocations: 0 / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-06/0.002676, allocations: 0 / 0.5466 GB, free: 28.33 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.179e-05/0.002708, allocations: 113.8 kB / 0.5467 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-06/0.002714, allocations: 0 / 0.5467 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.566e-05/0.002729, allocations: 11.67 kB / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.002731, allocations: 4 kB / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.002733, allocations: 3.938 kB / 0.5467 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.002736, allocations: 0 / 0.5467 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.585e-05/0.002781, allocations: 69.84 kB / 0.5468 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.002782, allocations: 0 / 0.5468 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.002804, allocations: 8 kB / 0.5468 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.002809, allocations: 7.984 kB / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.00281, allocations: 0 / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.002815, allocations: 6.75 kB / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.002816, allocations: 0 / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.002817, allocations: 0 / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.415e-05/0.002861, allocations: 72.98 kB / 0.5469 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.002869, allocations: 4 kB / 0.5469 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.00288, allocations: 0 / 0.5469 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-06/0.002889, allocations: 0 / 0.5469 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.00289, allocations: 0 / 0.5469 GB, free: 27.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.478e-06/0.0029, allocations: 20.84 kB / 0.5469 GB, free: 27.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0029, allocations: 0 / 0.5469 GB, free: 27.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001417/0.003042, allocations: 4 kB / 0.5469 GB, free: 27.96 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 4.921e-05/0.003091, allocations: 80.42 kB / 0.547 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.004159, allocations: 24.78 kB / 0.547 GB, free: 27.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.004167, allocations: 0 / 0.547 GB, free: 27.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-05/0.004185, allocations: 9.141 kB / 0.547 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.226e-05/0.004237, allocations: 13.91 kB / 0.547 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001542/0.004391, allocations: 140.4 kB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.695e-05/0.004408, allocations: 51.36 kB / 0.5472 GB, free: 27.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.175e-05/0.00442, allocations: 4 kB / 0.5472 GB, free: 27.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.004441, allocations: 47.38 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.004441, allocations: 0 / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of Templates: time 0.001605/0.006046, allocations: 467.3 kB / 0.5477 GB, free: 27.1 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > 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: 3.2788473702967167]