Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.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.0007322/0.0007322, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000906/0.001638, allocations: 455.9 kB / 10.35 MB, free: 348 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.0007233/0.0007233, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008903/0.001614, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.125, allocations: 53.67 MB / 243.3 MB, free: 15.55 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.8357/0.8357, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06591/0.9016, allocations: 21.06 MB / 0.5433 GB, free: 31.71 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_LiemMoolenaar2011_PD_vas_alertness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.5446 GB, free: 30.37 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.984e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness): time 0.00163/0.00166, allocations: 0.6885 MB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.296e-05/0.001693, allocations: 3.938 kB / 0.5453 GB, free: 29.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.001715, allocations: 0 / 0.5453 GB, free: 29.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.913e-06/0.001722, allocations: 3.938 kB / 0.5453 GB, free: 29.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.347e-05/0.001736, allocations: 0 / 0.5453 GB, free: 29.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.438e-05/0.00177, allocations: 7.984 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.375e-05/0.001834, allocations: 11.94 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.526e-05/0.001889, allocations: 4 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.001945, allocations: 15.92 kB / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.001999, allocations: 11.97 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.002017, allocations: 0 / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.96e-06/0.002022, allocations: 4 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.002043, allocations: 7.938 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.002069, allocations: 0 / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.708e-05/0.002136, allocations: 7.938 kB / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.79e-05/0.002154, allocations: 0 / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.002155, allocations: 3.938 kB / 0.5453 GB, free: 29.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.002173, allocations: 0 / 0.5453 GB, free: 29.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003981/0.002571, allocations: 235.1 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.002617, allocations: 15.89 kB / 0.5456 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.002643, allocations: 0.9375 kB / 0.5456 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.732e-05/0.00272, allocations: 117.7 kB / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.002731, allocations: 384 / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.002738, allocations: 384 / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.186e-05/0.002809, allocations: 42.17 kB / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.002822, allocations: 192 / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.002829, allocations: 384 / 0.5457 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.002835, allocations: 4.375 kB / 0.5457 GB, free: 29.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.002857, allocations: 7.938 kB / 0.5457 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.664e-05/0.002953, allocations: 64.98 kB / 0.5458 GB, free: 29.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.003212, allocations: 42.59 kB / 0.5458 GB, free: 29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.003229, allocations: 12.86 kB / 0.5459 GB, free: 28.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.003235, allocations: 0 / 0.5459 GB, free: 28.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.003254, allocations: 30.56 kB / 0.5459 GB, free: 28.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.003255, allocations: 0 / 0.5459 GB, free: 28.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001101/0.003365, allocations: 45.62 kB / 0.5459 GB, free: 28.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.003392, allocations: 55.41 kB / 0.546 GB, free: 28.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/0.003445, allocations: 114.1 kB / 0.5461 GB, free: 28.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.003452, allocations: 25.7 kB / 0.5461 GB, free: 28.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/0.00347, allocations: 80.14 kB / 0.5462 GB, free: 28.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.003505, allocations: 7.891 kB / 0.5462 GB, free: 28.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.003536, allocations: 21.69 kB / 0.5462 GB, free: 28.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.096e-05/0.003577, allocations: 326.8 kB / 0.5465 GB, free: 28.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.003584, allocations: 0 / 0.5465 GB, free: 28.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/0.003596, allocations: 4 kB / 0.5465 GB, free: 28.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/0.003627, allocations: 12.84 kB / 0.5465 GB, free: 28.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.003631, allocations: 0 / 0.5465 GB, free: 28.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.502e-05/0.003676, allocations: 45.62 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.003695, allocations: 4 kB / 0.5466 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.0037, allocations: 0 / 0.5466 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.003714, allocations: 0 / 0.5466 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.003771, allocations: 4 kB / 0.5466 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.003774, allocations: 4 kB / 0.5466 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.00379, allocations: 7.953 kB / 0.5466 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.003793, allocations: 0 / 0.5466 GB, free: 28.14 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 (3): * Single equations (assignments): 3 * 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 5.247e-05/0.003845, allocations: 109.8 kB / 0.5467 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-06/0.003853, allocations: 4 kB / 0.5467 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.003887, allocations: 11.98 kB / 0.5467 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.003889, allocations: 0 / 0.5467 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.003892, allocations: 0 / 0.5467 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.003897, allocations: 4.266 kB / 0.5467 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.319e-05/0.00396, allocations: 73.83 kB / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.003961, allocations: 0 / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/0.003977, allocations: 8 kB / 0.5468 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.003987, allocations: 7.984 kB / 0.5468 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.003989, allocations: 7.922 kB / 0.5468 GB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.003994, allocations: 0 / 0.5468 GB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.003995, allocations: 0 / 0.5468 GB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.003999, allocations: 2.656 kB / 0.5468 GB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.92e-05/0.004078, allocations: 69.06 kB / 0.5469 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.004088, allocations: 3.375 kB / 0.5469 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-06/0.004094, allocations: 0 / 0.5469 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.00411, allocations: 0 / 0.5469 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.004113, allocations: 4 kB / 0.5469 GB, free: 27.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.795e-05/0.004131, allocations: 16.84 kB / 0.5469 GB, free: 27.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004131, allocations: 0 / 0.5469 GB, free: 27.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.568e-05/0.004227, allocations: 4 kB / 0.5469 GB, free: 27.77 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 (3): * Single equations (assignments): 3 * 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 0.0001119/0.004339, allocations: 80.42 kB / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.819e-05/0.004427, allocations: 20.8 kB / 0.547 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/0.004442, allocations: 0 / 0.547 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.164e-05/0.004463, allocations: 20.83 kB / 0.547 GB, free: 27.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.858e-05/0.004562, allocations: 7.875 kB / 0.547 GB, free: 27.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.004823, allocations: 120.5 kB / 0.5472 GB, free: 27.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.248e-05/0.004856, allocations: 59.34 kB / 0.5472 GB, free: 27.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.748e-05/0.004873, allocations: 3.938 kB / 0.5472 GB, free: 27.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.004909, allocations: 47.38 kB / 0.5473 GB, free: 27.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.00491, allocations: 0 / 0.5473 GB, free: 27.36 MB / 410.7 MB Notification: Performance of Templates: time 0.002144/0.007054, allocations: 443.5 kB / 0.5477 GB, free: 26.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.511856517754495]