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_spv.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.00139/0.00139, allocations: 92.42 kB / 19.94 MB, free: 4.598 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.001809/0.001809, allocations: 165.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 0.9546/0.9546, 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.7787/0.7787, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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_spv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.6973 GB, free: 10.46 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.495e-05, allocations: 10.22 kB / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv): time 0.001301/0.001326, allocations: 0.6163 MB / 0.6979 GB, free: 9.836 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.806e-05/0.001374, allocations: 0 / 0.6979 GB, free: 9.836 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.0014, allocations: 0 / 0.6979 GB, free: 9.836 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.001413, allocations: 3.938 kB / 0.6979 GB, free: 9.832 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.87e-05/0.001442, allocations: 7.938 kB / 0.6979 GB, free: 9.824 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.989e-05/0.001492, allocations: 3.984 kB / 0.6979 GB, free: 9.82 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.091e-05/0.001543, allocations: 23.91 kB / 0.698 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.00159, allocations: 0 / 0.698 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.001625, allocations: 4 kB / 0.698 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.001674, allocations: 7.984 kB / 0.698 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.001695, allocations: 0 / 0.698 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.668e-06/0.0017, allocations: 0 / 0.698 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.001716, allocations: 7.938 kB / 0.698 GB, free: 9.777 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.001735, allocations: 7.984 kB / 0.698 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.272e-05/0.001788, allocations: 15.86 kB / 0.698 GB, free: 9.754 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.00179, allocations: 4 kB / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.052e-06/0.001791, allocations: 0 / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.001798, allocations: 0 / 0.698 GB, free: 9.75 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.0002583/0.002056, allocations: 250.4 kB / 0.6982 GB, free: 9.473 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.002093, allocations: 12.03 kB / 0.6983 GB, free: 9.461 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.002118, allocations: 0.9375 kB / 0.6983 GB, free: 9.461 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.578e-05/0.002174, allocations: 113.7 kB / 0.6984 GB, free: 9.324 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.002185, allocations: 4.375 kB / 0.6984 GB, free: 9.32 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.002193, allocations: 384 / 0.6984 GB, free: 9.32 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.725e-05/0.002271, allocations: 42.23 kB / 0.6984 GB, free: 9.273 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.002277, allocations: 4.188 kB / 0.6984 GB, free: 9.27 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.002286, allocations: 384 / 0.6984 GB, free: 9.27 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.00229, allocations: 384 / 0.6984 GB, free: 9.27 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.406e-05/0.002324, allocations: 11.94 kB / 0.6984 GB, free: 9.258 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.218e-05/0.002416, allocations: 113.3 kB / 0.6985 GB, free: 9.117 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.002651, allocations: 46.56 kB / 0.6986 GB, free: 9.062 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.002676, allocations: 12.84 kB / 0.6986 GB, free: 9.047 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.002685, allocations: 4 kB / 0.6986 GB, free: 9.043 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.002696, allocations: 34.56 kB / 0.6986 GB, free: 9 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.002697, allocations: 0 / 0.6986 GB, free: 9 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001178/0.002815, allocations: 57.62 kB / 0.6987 GB, free: 8.938 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.002836, allocations: 55.41 kB / 0.6987 GB, free: 8.871 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.104e-05/0.002877, allocations: 101.8 kB / 0.6988 GB, free: 8.762 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.979e-06/0.002882, allocations: 29.7 kB / 0.6989 GB, free: 8.727 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.54e-05/0.002898, allocations: 84.12 kB / 0.6989 GB, free: 8.641 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.002923, allocations: 19.78 kB / 0.699 GB, free: 8.621 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.002943, allocations: 13.72 kB / 0.699 GB, free: 8.602 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.366e-05/0.002977, allocations: 314.8 kB / 0.6993 GB, free: 8.285 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.00299, allocations: 7.984 kB / 0.6993 GB, free: 8.277 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.938e-06/0.002999, allocations: 4 kB / 0.6993 GB, free: 8.273 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.003026, allocations: 20.86 kB / 0.6993 GB, free: 8.25 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.003028, allocations: 0 / 0.6993 GB, free: 8.25 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.261e-05/0.003071, allocations: 49.62 kB / 0.6993 GB, free: 8.195 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.003083, allocations: 4 kB / 0.6994 GB, free: 8.191 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.003087, allocations: 0 / 0.6994 GB, free: 8.191 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.003099, allocations: 0 / 0.6994 GB, free: 8.191 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.424e-05/0.003134, allocations: 4 kB / 0.6994 GB, free: 8.188 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.003139, allocations: 4 kB / 0.6994 GB, free: 8.184 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.088e-05/0.00315, allocations: 3.938 kB / 0.6994 GB, free: 8.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.003153, allocations: 0 / 0.6994 GB, free: 8.18 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 3.514e-05/0.003189, allocations: 113.8 kB / 0.6995 GB, free: 8.059 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-06/0.003193, allocations: 7.953 kB / 0.6995 GB, free: 8.051 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.003209, allocations: 7.984 kB / 0.6995 GB, free: 8.043 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.003211, allocations: 0 / 0.6995 GB, free: 8.043 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.003214, allocations: 0 / 0.6995 GB, free: 8.043 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.003217, allocations: 8.266 kB / 0.6995 GB, free: 8.035 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.929e-05/0.003257, allocations: 101.3 kB / 0.6996 GB, free: 7.906 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.003257, allocations: 0 / 0.6996 GB, free: 7.906 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/0.00327, allocations: 7.984 kB / 0.6996 GB, free: 7.898 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.003271, allocations: 0 / 0.6996 GB, free: 7.898 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.003277, allocations: 3.984 kB / 0.6996 GB, free: 7.895 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.003277, allocations: 7.938 kB / 0.6996 GB, free: 7.887 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.003278, allocations: 3.938 kB / 0.6996 GB, free: 7.883 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.651e-05/0.003324, allocations: 77.06 kB / 0.6997 GB, free: 7.789 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-06/0.003329, allocations: 3.953 kB / 0.6997 GB, free: 7.785 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-06/0.003338, allocations: 0 / 0.6997 GB, free: 7.785 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-06/0.003344, allocations: 4.25 kB / 0.6997 GB, free: 7.781 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.003357, allocations: 0 / 0.6997 GB, free: 7.781 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.003359, allocations: 4 kB / 0.6997 GB, free: 7.777 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.609e-05/0.003375, allocations: 87.27 kB / 0.6998 GB, free: 7.691 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.11e-07/0.003375, allocations: 0 / 0.6998 GB, free: 7.691 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001033/0.003479, allocations: 7.938 kB / 0.6998 GB, free: 7.684 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 7.638e-05/0.003555, allocations: 103.2 kB / 0.6999 GB, free: 7.574 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.613e-05/0.003631, allocations: 23.92 kB / 0.6999 GB, free: 7.551 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.003632, allocations: 0 / 0.6999 GB, free: 7.551 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/0.00364, allocations: 4 kB / 0.6999 GB, free: 7.547 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.003749, allocations: 5.969 kB / 0.6999 GB, free: 7.543 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/0.003938, allocations: 134.5 kB / 0.7 GB, free: 7.379 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.715e-05/0.003965, allocations: 63.34 kB / 0.7001 GB, free: 7.297 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.003985, allocations: 8.5 kB / 0.7001 GB, free: 7.289 MB / 410.8 MB Notification: Performance of SimCode: time 4.01e-07/0.003986, allocations: 8 kB / 0.7001 GB, free: 7.281 MB / 410.8 MB Notification: Performance of Templates: time 0.001193/0.005179, allocations: 0.491 MB / 0.7006 GB, free: 6.793 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.166414047591388]