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_adaptive_tracking.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.001039/0.001039, allocations: 92.42 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001312/0.001312, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.055/1.055, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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.7155/0.7155, allocations: 291.1 MB / 0.5382 GB, free: 51.87 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_adaptive_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 0 / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.909e-05/4.189e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking): time 0.002047/0.002089, allocations: 0.6125 MB / 0.6979 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 8.863e-05/0.002177, allocations: 7.984 kB / 0.6979 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.002223, allocations: 3.938 kB / 0.6979 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.002247, allocations: 7.875 kB / 0.6979 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.002301, allocations: 4 kB / 0.6979 GB, free: 9.746 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.641e-05/0.002377, allocations: 0 / 0.6979 GB, free: 9.746 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.002463, allocations: 19.92 kB / 0.6979 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.742e-05/0.002541, allocations: 0 / 0.6979 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.148e-05/0.002592, allocations: 7.984 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.961e-05/0.002662, allocations: 4 kB / 0.698 GB, free: 9.715 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.002698, allocations: 7.938 kB / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.002706, allocations: 0 / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.00273, allocations: 11.91 kB / 0.698 GB, free: 9.695 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.002756, allocations: 4 kB / 0.698 GB, free: 9.691 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 8.118e-05/0.002837, allocations: 7.922 kB / 0.698 GB, free: 9.684 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.00284, allocations: 4 kB / 0.698 GB, free: 9.68 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.152e-06/0.002841, allocations: 0 / 0.698 GB, free: 9.68 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.002848, allocations: 4 kB / 0.698 GB, free: 9.676 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.0004162/0.003264, allocations: 250.4 kB / 0.6982 GB, free: 9.398 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.003319, allocations: 8.031 kB / 0.6982 GB, free: 9.391 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.00336, allocations: 4.938 kB / 0.6982 GB, free: 9.387 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.003463, allocations: 113.8 kB / 0.6984 GB, free: 9.25 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.003481, allocations: 384 / 0.6984 GB, free: 9.25 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.003494, allocations: 384 / 0.6984 GB, free: 9.25 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.003616, allocations: 34.25 kB / 0.6984 GB, free: 9.211 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.003629, allocations: 192 / 0.6984 GB, free: 9.211 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.003641, allocations: 4.375 kB / 0.6984 GB, free: 9.207 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.003651, allocations: 4.375 kB / 0.6984 GB, free: 9.203 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.998e-05/0.00371, allocations: 19.86 kB / 0.6984 GB, free: 9.184 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.003868, allocations: 105.3 kB / 0.6985 GB, free: 9.051 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.004228, allocations: 50.66 kB / 0.6986 GB, free: 8.992 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.004265, allocations: 8.859 kB / 0.6986 GB, free: 8.98 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.004279, allocations: 0 / 0.6986 GB, free: 8.98 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.004297, allocations: 38.56 kB / 0.6986 GB, free: 8.934 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.004298, allocations: 0 / 0.6986 GB, free: 8.934 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001751/0.004473, allocations: 53.62 kB / 0.6987 GB, free: 8.875 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.004508, allocations: 51.41 kB / 0.6987 GB, free: 8.812 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.092e-05/0.004579, allocations: 113.8 kB / 0.6988 GB, free: 8.691 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.004586, allocations: 25.7 kB / 0.6988 GB, free: 8.66 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.004612, allocations: 88.14 kB / 0.6989 GB, free: 8.57 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.004644, allocations: 11.84 kB / 0.6989 GB, free: 8.559 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.004672, allocations: 13.72 kB / 0.699 GB, free: 8.539 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.004724, allocations: 318.8 kB / 0.6993 GB, free: 8.219 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.00474, allocations: 4 kB / 0.6993 GB, free: 8.215 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.004753, allocations: 4.188 kB / 0.6993 GB, free: 8.211 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.675e-05/0.004789, allocations: 24.88 kB / 0.6993 GB, free: 8.184 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004791, allocations: 4 kB / 0.6993 GB, free: 8.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.598e-05/0.004857, allocations: 49.62 kB / 0.6993 GB, free: 8.125 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.004873, allocations: 4 kB / 0.6993 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.00488, allocations: 0 / 0.6993 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.004897, allocations: 0 / 0.6993 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.004943, allocations: 4 kB / 0.6993 GB, free: 8.117 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.004949, allocations: 0 / 0.6993 GB, free: 8.117 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.004968, allocations: 7.922 kB / 0.6994 GB, free: 8.109 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.004973, allocations: 4 kB / 0.6994 GB, free: 8.105 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.858e-05/0.005022, allocations: 110.4 kB / 0.6995 GB, free: 7.988 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.005029, allocations: 11.95 kB / 0.6995 GB, free: 7.977 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.005052, allocations: 8 kB / 0.6995 GB, free: 7.969 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005054, allocations: 0 / 0.6995 GB, free: 7.969 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.005059, allocations: 0 / 0.6995 GB, free: 7.969 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.005062, allocations: 3.938 kB / 0.6995 GB, free: 7.965 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.903e-05/0.005141, allocations: 105.3 kB / 0.6996 GB, free: 7.832 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005142, allocations: 4 kB / 0.6996 GB, free: 7.828 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.005164, allocations: 4 kB / 0.6996 GB, free: 7.824 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.005167, allocations: 3.938 kB / 0.6996 GB, free: 7.82 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.005175, allocations: 7.938 kB / 0.6996 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005176, allocations: 0 / 0.6996 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.005177, allocations: 4 kB / 0.6996 GB, free: 7.809 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.118e-05/0.005248, allocations: 69.06 kB / 0.6997 GB, free: 7.723 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-06/0.005254, allocations: 7.953 kB / 0.6997 GB, free: 7.715 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.005267, allocations: 0 / 0.6997 GB, free: 7.715 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.005278, allocations: 0 / 0.6997 GB, free: 7.715 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.005296, allocations: 7.984 kB / 0.6997 GB, free: 7.707 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.005298, allocations: 0 / 0.6997 GB, free: 7.707 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.12e-05/0.005319, allocations: 87.53 kB / 0.6998 GB, free: 7.621 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.005319, allocations: 0 / 0.6998 GB, free: 7.621 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002009/0.00552, allocations: 7.938 kB / 0.6998 GB, free: 7.613 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.805e-05/0.005608, allocations: 103.2 kB / 0.6999 GB, free: 7.504 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.479e-05/0.005703, allocations: 23.92 kB / 0.6999 GB, free: 7.48 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005705, allocations: 0 / 0.6999 GB, free: 7.48 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.005717, allocations: 4 kB / 0.6999 GB, free: 7.477 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.005889, allocations: 4.688 kB / 0.6999 GB, free: 7.477 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.00617, allocations: 138.5 kB / 0.7 GB, free: 7.309 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.165e-05/0.006212, allocations: 63.34 kB / 0.7001 GB, free: 7.227 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.006241, allocations: 8.5 kB / 0.7001 GB, free: 7.219 MB / 410.8 MB Notification: Performance of SimCode: time 6.21e-07/0.006242, allocations: 4 kB / 0.7001 GB, free: 7.215 MB / 410.8 MB Notification: Performance of Templates: time 0.001895/0.008137, allocations: 0.5052 MB / 0.7006 GB, free: 6.715 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_adaptive_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2916978327557445]