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.002571/0.002571, allocations: 84.44 kB / 19.17 MB, free: 0.7422 MB / 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.003341/0.003341, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.674/1.674, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 178] 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 1.335/1.335, allocations: 292.9 MB / 0.5392 GB, free: 49.79 MB / 410.7 MB " [Timeout remaining time 178] 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 1.633e-06/1.633e-06, allocations: 0 / 0.6999 GB, free: 8.613 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.508e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.609 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness): time 0.001695/0.00172, allocations: 0.632 MB / 0.7005 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 5.36e-05/0.001773, allocations: 7.938 kB / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.001807, allocations: 0 / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.001823, allocations: 0 / 0.7005 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.835e-05/0.001851, allocations: 3.938 kB / 0.7005 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.985e-05/0.001901, allocations: 7.984 kB / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.502e-05/0.001956, allocations: 11.94 kB / 0.7005 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.132e-05/0.002018, allocations: 0 / 0.7005 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.002061, allocations: 15.97 kB / 0.7005 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.002112, allocations: 7.984 kB / 0.7005 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.002142, allocations: 4 kB / 0.7005 GB, free: 7.918 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.34e-06/0.002147, allocations: 0 / 0.7005 GB, free: 7.918 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.002162, allocations: 3.938 kB / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.002184, allocations: 4 kB / 0.7005 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.418e-05/0.002238, allocations: 7.984 kB / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00224, allocations: 0 / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00224, allocations: 0 / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.002244, allocations: 0 / 0.7005 GB, free: 7.902 MB / 410.8 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.0003592/0.002603, allocations: 258.3 kB / 0.7008 GB, free: 7.617 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.002645, allocations: 12.03 kB / 0.7008 GB, free: 7.605 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.002681, allocations: 4.938 kB / 0.7008 GB, free: 7.602 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.16e-05/0.002773, allocations: 113.7 kB / 0.7009 GB, free: 7.465 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.002788, allocations: 384 / 0.7009 GB, free: 7.465 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.002798, allocations: 8.25 kB / 0.7009 GB, free: 7.457 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.814e-05/0.002896, allocations: 38.2 kB / 0.701 GB, free: 7.414 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.002906, allocations: 192 / 0.701 GB, free: 7.414 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.002917, allocations: 384 / 0.701 GB, free: 7.414 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.002923, allocations: 4.375 kB / 0.701 GB, free: 7.41 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.141e-05/0.002974, allocations: 11.92 kB / 0.701 GB, free: 7.398 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.003103, allocations: 101.3 kB / 0.7011 GB, free: 7.27 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.003457, allocations: 54.66 kB / 0.7011 GB, free: 7.207 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.003491, allocations: 12.86 kB / 0.7011 GB, free: 7.191 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.003505, allocations: 0 / 0.7011 GB, free: 7.191 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.003519, allocations: 38.5 kB / 0.7012 GB, free: 7.145 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.00352, allocations: 0 / 0.7012 GB, free: 7.145 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001748/0.003695, allocations: 45.69 kB / 0.7012 GB, free: 7.094 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.003724, allocations: 51.41 kB / 0.7013 GB, free: 7.031 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.003784, allocations: 109.8 kB / 0.7014 GB, free: 6.914 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.003791, allocations: 25.7 kB / 0.7014 GB, free: 6.883 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.003817, allocations: 88.14 kB / 0.7015 GB, free: 6.793 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.003845, allocations: 19.83 kB / 0.7015 GB, free: 6.773 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.003877, allocations: 21.7 kB / 0.7015 GB, free: 6.746 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.003928, allocations: 310.8 kB / 0.7018 GB, free: 6.434 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.003945, allocations: 4 kB / 0.7018 GB, free: 6.43 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.003958, allocations: 7.938 kB / 0.7018 GB, free: 6.422 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.484e-05/0.003992, allocations: 20.84 kB / 0.7018 GB, free: 6.398 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003994, allocations: 0 / 0.7018 GB, free: 6.398 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.291e-05/0.004057, allocations: 37.98 kB / 0.7019 GB, free: 6.355 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.004069, allocations: 8 kB / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.004073, allocations: 0 / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.00409, allocations: 48 / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.597e-05/0.004135, allocations: 15.97 kB / 0.7019 GB, free: 6.332 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.004141, allocations: 0 / 0.7019 GB, free: 6.332 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.004163, allocations: 7.938 kB / 0.7019 GB, free: 6.324 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.004171, allocations: 4 kB / 0.7019 GB, free: 6.32 MB / 410.8 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 4.72e-05/0.004219, allocations: 109.8 kB / 0.702 GB, free: 6.203 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.004227, allocations: 3.953 kB / 0.702 GB, free: 6.199 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.004248, allocations: 12 kB / 0.702 GB, free: 6.188 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.00425, allocations: 0 / 0.702 GB, free: 6.188 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.004255, allocations: 4.188 kB / 0.702 GB, free: 6.184 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.004261, allocations: 3.938 kB / 0.702 GB, free: 6.18 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.82e-05/0.00432, allocations: 113.3 kB / 0.7022 GB, free: 6.039 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.004321, allocations: 4 kB / 0.7022 GB, free: 6.035 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.004349, allocations: 4 kB / 0.7022 GB, free: 6.031 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.004351, allocations: 0 / 0.7022 GB, free: 6.031 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.004357, allocations: 3.938 kB / 0.7022 GB, free: 6.027 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.004358, allocations: 0 / 0.7022 GB, free: 6.027 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.004358, allocations: 0 / 0.7022 GB, free: 6.027 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.473e-05/0.004433, allocations: 69.06 kB / 0.7022 GB, free: 5.941 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.004439, allocations: 7.953 kB / 0.7022 GB, free: 5.934 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.00445, allocations: 3.984 kB / 0.7022 GB, free: 5.93 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.803e-05/0.004468, allocations: 0 / 0.7022 GB, free: 5.93 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.004483, allocations: 11.94 kB / 0.7023 GB, free: 5.918 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.004485, allocations: 0 / 0.7023 GB, free: 5.918 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.92e-05/0.004514, allocations: 83.28 kB / 0.7023 GB, free: 5.836 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.004514, allocations: 0 / 0.7023 GB, free: 5.836 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001785/0.004692, allocations: 7.938 kB / 0.7023 GB, free: 5.828 MB / 410.8 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 8.775e-05/0.00478, allocations: 103.2 kB / 0.7024 GB, free: 5.719 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8e-05/0.00486, allocations: 12 kB / 0.7025 GB, free: 5.707 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.004862, allocations: 0 / 0.7025 GB, free: 5.707 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.004873, allocations: 8 kB / 0.7025 GB, free: 5.699 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.005022, allocations: 19.67 kB / 0.7025 GB, free: 5.684 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.005242, allocations: 108.8 kB / 0.7026 GB, free: 5.551 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.005275, allocations: 59.36 kB / 0.7026 GB, free: 5.473 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.37e-05/0.005288, allocations: 3.984 kB / 0.7026 GB, free: 5.469 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.005308, allocations: 8.5 kB / 0.7027 GB, free: 5.461 MB / 410.8 MB Notification: Performance of SimCode: time 3.91e-07/0.005309, allocations: 0 / 0.7027 GB, free: 5.461 MB / 410.8 MB Notification: Performance of Templates: time 0.002697/0.008005, allocations: 391.4 kB / 0.703 GB, free: 5.133 MB / 410.8 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: 6.591487967874855]